#!/bin/sh
-# $Id$
grep=egrep
LOGFILENAME=$1
# FIXME: This regexp may not catch all error messages emitted;
#!/bin/sh
-# $Id$
if [ -z "$(svn status | egrep '^\?|^X')" ]
then
# remove all files ignored by Subversion
#!/bin/bash
-# $Id$
-
# This script attempts to find and run trang. Any arguments given
# to it are passed "as is" to trang.
#
XERCES=`findxerces2`
RESOLVER=`findresolver`
-if [ ! "$RESOLVER" ] && [[ $CLASSPATH != *xml-commons-resolver* ]]; then
+if [ ! "$RESOLVER" ] && [[ $CLASSPATH != *xml*resolver* ]]; then
echo "cannot find resolver classes" 1>&2
exit 1
fi
-# $Id$
-
DATE ?= $(shell date +"%Y-%m-%d")
WGET ?= wget
-# $Id$
-
include ../../buildtools/Makefile.incl
CLDR_CVS_MODULES ?= common docs dtd tools
-$Id$
-
The purpose of this directory is to hold contributed documentation
about authoring and publishing DocBook documents.
-$Id$
-
This is simply a list of standard and commonly used section
heading names for "top level" (.SH) sections in man pages (which
correspond to Refsect1 element in DocBook.
-# $Id$
#
TBLSOURCE=http://cm.bell-labs.com/7thEdMan/vol2/tbl
WGET=wget
-$Id$
-
The source for the M. E. Lesk paper "Tbl - A Program to Format
Tables" and for all other parts of the Unix Seventh Edition Manual
are still under copyright and so cannot be freely distributed. See
exclude-result-prefixes="exsl d"
version="1.0">
-<!-- $Id: assemble.xsl,v 1.8 2011-08-22 04:09:42 bobs Exp $ -->
-
<xsl:preserve-space elements="*"/>
<xsl:strip-space elements="d:assembly d:structure d:module d:resources d:resource"/>
version="1.0"
exclude-result-prefixes="exsl">
-<!-- ********************************************************************
- $Id: topic-maker-chunk.xsl,v 1.6 2011-08-18 19:16:28 bobs Exp $
- ********************************************************************
--->
-
<xsl:import href="topic-maker.xsl"/>
<xsl:import href="file:///c:/xml/docbook-xsl-ns-1.75.2/xhtml/chunk-common.xsl"/>
exclude-result-prefixes="exsl"
version="1.0">
-<!-- $Id: topic-maker.xsl,v 1.2 2010-08-24 00:46:20 bobs Exp $ -->
-
<!-- This stylesheet convert DocBook elements into topic element.
The chunking takes place elsewhere. -->
#!/usr/bin/perl
-# $Id$
-
=head1 NAME
cloak, uncloak - cloak/uncloak content in XML/SGML documents
-# $Id$
-
DOWNLOAD_URL ?= http://woodstox.codehaus.org/tools
DOWNLOAD_FILENAME ?= dtd-flatten.jar
-# $Id$
#
# ::: Basic makefile for generating HTML and HTML Help from DocBook XML source files
#
-# $DateTime: 2003/10/14 03:36:19 $
-# $Author$
SCP = scp
SCP_OPTS =
<title
><command>docbk-menu-mode</command> — a DocBook menu for GNU Emacs</title>
<articleinfo>
- <pubdate>$Date$</pubdate>
- <releaseinfo>$Id$
+ <pubdate></pubdate>
+ <releaseinfo>
<ulink url="./docbook-menu.xml">xml source</ulink></releaseinfo>
</articleinfo>
<section id='intro'>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!--
- * $Id$
- * $Revision$ $Date$ $Author$ -->
<xsl:param name="refentry.generate.name" select="0"/>
<xsl:param name="refentry.generate.title" select="1"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!--
- * $Id$
- * $Revision$ $Date$ $Author$ -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/htmlhelp/htmlhelp.xsl"/>
<xsl:import href="./html-common.xsl"/>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
- <!--
- * $Id$
- * $Revision$ $Date$ $Author$ -->
<xsl:import href="http://docbook.sourceforge.net/release/xsl/current/html/chunk.xsl"/>
<xsl:import href="./html-common.xsl"/>
;;; docbk-menu.el --- Easy access to DocBook docs
-;; $Id$
;; Copyright (C) 2003 Michael Smith
;; Maintainer: Michael Smith <smith@sideshowbarker.net>
;; Created: 2003-11-04
;; Version: 0.92
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
;; X-URL: http://docbook.sf.net/projects/docbook-menu
;; Keywords: xml docbook
<?php
/* dir2xml.php --- Transform directory listing into elisp list
- * Revision: $Revision$
- * Date: $Date$
- * RCS Id: $Id$
*
* Use this script to transform a listing of the DocBook XSLT
* stylesheet distro directory into a lisp list for use with the
;;; dbk-el-az.el --- Alphabetical list of DocBook elements
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-elements-alphabetical
(list "DocBook: Element Reference (Alphabetical)"
;;; dbk-el-lg.el --- Logical list of DocBook elements
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-elements-logical
(list "DocBook: Element Reference (Logical)"
;;; dbk-faq.el --- List of DocBook FAQ sections
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-faq
(browse-url (concat docbook-menu-faq-base-uri "/tksnorm.html")) t]
)
"DocBook FAQ submenu for 'docbook-menu'."
- )
\ No newline at end of file
+ )
;;; dbk-tdg.el --- List of TDG chapters
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-tdg-toc
(list "DocBook: The Definitive Guide"
)
"TDG submenu for 'docbook-menu'."
- )
\ No newline at end of file
+ )
;;; dbk-wiki.el --- List of DocBook Wiki pages
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-wiki
(list "DocBook Wiki"
;;; dbk-xsldir.el --- DocBook XSLT stylesheets directory contents
;; for DocBook XSLT stylesheets version 1.64.0
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-xsl-distro
(list "DocBook XSL: Stylesheet Distribution"
;;; dbk-xsldoc.el --- DocBook XSLT stylesheets documentation
;; for DocBook XSLT stylesheets version 1.64.0
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-xsl-docs
(list "DocBook XSL: Stylesheet Documentation"
;;; dbk-xslfo.el --- List of DocBook XSLT FO parameters
;; for DocBook XSLT stylesheets version 1.64.0
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-xsl-params-fo
(list "DocBook XSL: Parameter Reference - FO"
;;; dbk-xslhtm.el --- List of DocBook XSLT HTML parameters
;; for DocBook XSLT stylesheets version 1.64.0
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-xsl-params-html
(list "DocBook XSL: Parameter Reference - HTML"
;;; dbk-xsltcg.el --- List of DocBook:XSL TCG chapters
;; for the second edition
-;; Revision: $Revision$
-;; Date: $Date$
-;; RCS Id: $Id$
(defvar docbook-menu-xsl-tcg
(list "DocBook XSL: The Complete Guide"
(browse-url (concat docbook-menu-xsl-tcg-uri "/bookindex.html")) t]
)
"DocBook XSL: The Complete Guide submenu for 'docbook-menu'."
- )
\ No newline at end of file
+ )
version="1.0">
<xsl:output method="text"/>
<!--
- * $Id$
- *
* Run this on the DocBook XSL: The Complete Guide TOC index.html *
* file to create an elisp file with code for making an Emacs menu.
*
<xsl:text>"DocBook XSL: The Complete Guide submenu for 'docbook-menu'." )</xsl:text>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
version="1.0">
<xsl:output method="text"/>
<!--
- * $Id$
- *
* Transform TDG Element Reference TOC HTML file into lisp code to
* for making an Emacs menu
*
<xsl:text>)</xsl:text>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
version="1.0">
<xsl:output method="text"/>
<!--
- * $Id$
- *
* Transform DocBook Stylesheet Reference Doc TOC into lisp code to
* for making an Emacs menu.
*
)</xsl:text>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
version="1.0">
<xsl:output method="text"/>
<!--
- * $Id$
- *
* Transform TDG into lisp code to for making an Emacs menu
*
* Run this on the docbook.html or docbook-x.html file in the TDG distro
)</xsl:text>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
-# $Id$
-
DOWNLOAD_URL ?= http://www.catb.org/~esr/freshmeat-submit
DOWNLOAD_FILENAME ?= freshmeat-submit-1.6.tar.gz
-# $Id$
-
DOWNLOAD_URL ?= http://www.jenitennison.com/xslt/utilities
DOWNLOAD_FILENAME ?= markup.xsl
#!/bin/bash
-# $Id $
# update_locatingrules - Update a central "locating rules" file
-# $Id$
-
DOWNLOAD_URL ?= http://www.kitebird.com/software/xmlformat
DOWNLOAD_FILENAME ?= xmlformat-1.03.tar.gz
-# $Id$
# Default options
*DEFAULT
format block
version="1.0"
exclude-result-prefixes="doc exsl set h">
-<!-- ********************************************************************
- $Id$
- ******************************************************************** -->
-
<!-- ==================================================================== -->
<!-- Customizations of standard HTML stylesheet parameters -->
indent="yes"
/>
- <!-- $Id$ -->
-
<!-- cldr2dbk.xsl - convert CLDR locale data to DocBook locale format -->
<!-- For information about the Common Locale Data Repository (CLDR) -->
<span class="firstname">Jane</span> <span class="surname">Doe</span>
</h3>
</div></div>
-<div><p class="releaseinfo">$Id$</p></div>
+<div><p class="releaseinfo"></p></div>
<div><p class="copyright">Copyright © 1998, 1999, 2000, 2001, 2002 Norman Walsh</p></div>
<div><div class="legalnotice">
<a name="id2494752"></a>
<book id="book">
<bookinfo>
<title>Unit Test: book.001</title>
-<releaseinfo role="CVS">$Id$</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<authorgroup>
<corpauthor>SomeCorp</corpauthor>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<span class="firstname">Jane</span> <span class="surname">Doe</span>
</h3>
</div></div>
-<div><p class="releaseinfo">$Id$</p></div>
+<div><p class="releaseinfo"></p></div>
<div><p class="copyright">Copyright © 1998, 1999, 2000, 2001, 2002 Norman Walsh</p></div>
<div><div class="legalnotice">
<a name="id2474689"></a>
<!-- THIS IS A WORK IN PROGRESS. IN PARTICULAR, IT DOESN'T WORK AT ALL -->
-<!-- $Id$ -->
-
<!-- Set the base directory to the location of the xml files -->
<project name="generate"
basedir="/sourceforge/docbook/website/example"
<book id="book">
<bookinfo>
<title>Unit Test: book.001</title>
-<releaseinfo role="CVS">$Id$</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<authorgroup>
<corpauthor>SomeCorp</corpauthor>
<author><firstname>Norman</firstname><surname>Walsh</surname>
-->
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the WebSite distribution.
See ../README or http://nwalsh.com/website/ for copyright
-->
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
-->
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the WebSite distribution.
See ../README or http://nwalsh.com/website/ for copyright
-->
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
;; This stylesheet would work, except that files like ../locale/ca.xml
;; have a doctype declaration but no DTD and Jade doesn't like that.
-;; $Id$
-
(declare-flow-object-class formatting-instruction
"UNREGISTERED::James Clark//Flow Object Class::formatting-instruction")
README for DocBook locale files
-$Id$
-
This README explains how to create, change, and
contribute locale files for use with DocBook.
<?xml version='1.0'?>
<!-- there is no doctype for these files, they are WF only -->
-<!-- $Id$ -->
<locale language="sl"
english-language-name="Slovenian"
xmlns:doc="http://nwalsh.com/xsl/documentation/1.0">
# areaoverlay -- Generates images with callouts from DocBook imageobjectco's
#
-# $Id$
-#
# Copyright (C) 2006 Norman Walsh
#
# This is free software; you can redistribute it and/or modify it
# areasearch -- Searches for rectangles and generates coords
#
-# $Id$
-#
# Copyright (C) 2006 Norman Walsh
#
# This is free software; you can redistribute it and/or modify it
Copyright (C) 2000, 2001 Norman Walsh
http://sourceforge.net/projects/docbook/
- $Id$
-
Please direct all questions and comments about this DTD to the
DocBook Open Repository team.
<citetitle>Literate Programming in XML</citetitle></subtitle>
<pubdate>05 Oct 2001</pubdate>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<revhistory>
<citetitle>Literate Programming in XML</citetitle></subtitle>
<pubdate>05 Oct 2001</pubdate>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<revhistory>
<citetitle>Literate Programming in XML</citetitle></subtitle>
<pubdate>05 Oct 2001</pubdate>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<revhistory>
cp $< $@
%.ns.xml: %.xml
- $(XSLT) $< ../docbook/relaxng/tools/db4-upgrade.xsl > $@
+ $(XSLT) $< ../xsl/tools/xsl/build/db4-upgrade.xsl > $@
clean:
$(RM) modified-markup.xsl
# this file is a -*- makefile -*- snippet
# targets in the file are used only for release builds
-# $Id$
-
debug:
.PHONY: ChangeLog.xml ChangeHistory.xml
param.file="$(XSL_PARAMS)"
mv NEWS.xml NEWS-4.xml
- $(XSLT) NEWS-4.xml $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl $@
+ $(XSLT) NEWS-4.xml $(repo_dir)/xsl/tools/xsl/build/db4-upgrade.xsl $@
rm NEWS-4.xml
NEWS.html: NEWS.xml
# used only when doing release builds.
#-----------------------------------------------------------------
-# $Id$
-
include $(repo_dir)/buildtools/Makefile.incl
RELEASE_ANNOUNCE=$(repo_dir)/releasetools/release-announce
#!/bin/sh
-# $Id$
if [ "$1" = "uninstall" ]
then
if [ -f ./uninstall.sh ]
#!/bin/sh
-# $Id$
-
# deb2sourceforge - Upload .deb to a Sourceforge project website
#
# Usage: deb2sourceforge
+++ /dev/null
-#!/bin/bash
-# vim: number
-
-# docbook-build - Build script for generating DocBook project snapshots
-# $Id$
-
-# fail if no CLASSPATH set
-if [ -z "$CLASSPATH" ]; then
- cat <<- EOF
-`basename $0`: error: CLASSPATH not set. Stopping.
-
-Before invoking `basename $0`, you must set the Java CLASSPATH
-environment variable in the environment from which the script
-runs, and it must contain absolute pathnames for the following:
-
- - Saxon or Xalan2 jar file or classes
- - Xerces jar file(s) or classes
- - Apache XML Commons Resolver jar file or classes
- - directory containing CatalogManager.properties file
-EOF
- exit 1
-fi
-
-export repo_dir=`dirname $(cd $(dirname $0); pwd)`
-# fail if no repo_dir set
-if [ -z "$repo_dir" ]; then
- cat <<- EOF
-`basename $0`: error: repo_dir not set. Stopping.
-
-Before invoking `basename $0`, you must set the repo_dir
-environment variable in the environment from which the script
-runs. The value of repo_dir should be the absolute path to the
-base of a DocBook Project Subversion working directory that
-contains the various DocBook Project modules; that is, such that
-the modules can be found in \$repo_dir/xsl, etc.
-EOF
- exit 1
-fi
-
-umask 002
-# set up some defaults
-SVNCHECK=no
-ENGINE=xsltproc
-PDF_MAKER=dblatex
-TAR=tar
-TARFLAGS=P
-ZIPTARG=zip
-SITEBASE=/var/www
-#SITEUSER=`whoami`
-#SITEHOST=web.sourceforge.net
-RELEASEVERSION=snapshot
-if [ -z "$TMP" ]; then
- TMP=/tmp
-fi
-# default timeout waiting for lock file to clear is 1200 seconds (20 mins)
-LOCK_TIMEOUT=1200
-
-usage="Usage:
-
- `basename $0` [-a ADDEDSUFFIX] [-b BASEDIR] [-d DOMAIN]
- [-e ENGINENAME] [-f FORMATTER] [-l LOGDIR]
- [-p PATH] [-r] [-s] [-t TMPDIR] [-u USER]
- [-v VERSION] [-x ZIPTARG] [-z ZONE] DISTRO...
-
-"
-opts_admon="Type '`basename $0` -h' for details about options.
-"
-
-help="
-Options:
-
- -a ADDEDSUFFIX
- Specifies a suffix for any additional packages that are built
- along with the package for this distro. For example, in the
- cause of the docbook-xsl package, we also build docbook-xsl-ns,
- using \"-a ns\"
-
- -b BASEDIR
- Specifies the location of the base directory containing the
- SVN working directories for modules from the DocBook project
- (directory containing 'xsl', 'dsssl', 'slides', etc. subdirs)
- Default: value of the repo_dir environment variable, if
- set; otherwise, the directory from which the script is run.
-
- -d DOMAIN
- Specifies the remote host (domain) to which the snaphost is
- uploaded. Default: 'web.sourceforge.net'
-
- -e ENGINENAME
- Specifies which XSLT engine to use. Default: xsltproc
-
- -f FORMATTER
- Specifies which formatter to use for generating the PDF
- version of the release notes for the distribution.
- Default: dblatex
-
- -l LOGDIR
- Specifies the directory to which the script redirects its
- standard output and standard error.
- Default: none -- if not set, stdout and stderr are not
- redirected to a log file.
-
- -p PATH
- Specifies the upload path on the remote host.
- Default: '/home/groups/d/do/docbook/htdocs/snapshots'
-
- -r
- If specified, read commit message from standard input.
-
- -s
- If specified, do an svn check to see if the workspace is up
- to date, and if it is, stop the build.
-
- -t TMPDIR
- Specifies the directory to which the script writes temporary
- files. Default: /tmp
-
- -u USER
- Specifies the (Sourceforge) username with which to upload the
- snapshot to the target (Sourceforge) website.
- Default: Username found in SVN/Root in working directory, if
- found; otherwise, local username.
-
- -v VERSION
- Specifies the version name to put on the build.
- Default: 'snapshot'
-
- -x ZIPTARG
- Specifies name of the target to use for building compressed
- package file. Default: 'zip'
-
- -z ZONE
- Specifies timezone to use for date/time stamps.
- Default: none -- if not set, 'date' uses timezone configured
- on local machine.
-
- DISTRO...
- Space-separated list of distros to build (e.g. 'xsl dsssl')
-
-"
-while getopts ":a:b:e:f:d:hl:p:rst:u:v:x:z:" opt; do
- case $opt in
- r ) # parse commit message
- while read -r LINE
- do
- if echo $LINE | grep "^Revision: " >/dev/null; then
- REVISION=$(echo $LINE | sed -r 's/^Revision: (.+)$/\1/')
- break
- fi
- if echo $LINE | grep "^Modified: " >/dev/null; then
- CHANGEPATH=$(echo $LINE | sed -r 's/^Modified:|Added:|Deleted: (.+)$/\1/')
- break
- fi
- done ;;
- a ) ADDEDSUFFIX=$OPTARG ;;
- b ) BUILDDIR=$OPTARG ;;
- e ) ENGINE=$OPTARG ;;
- f ) PDF_MAKER=$OPTARG ;;
- l ) LOGDIR=$OPTARG ;;
- t ) TMP=$OPTARG ;;
- v ) RELEASEVERSION=$OPTARG ;;
- u ) SITEUSER=$OPTARG ;;
- d ) SITEHOST=$OPTARG ;;
- p ) SITEBASE=$OPTARG ;;
- s ) SVNCHECK="yes" ;;
- x ) ZIPTARG=$OPTARG ;;
- z ) TZ=$OPTARG
- alias date="TZ=$TZ date" ;;
- h ) printf "$usage"
- printf "$help"
- exit 0 ;;
- \? ) printf "$usage"
- printf "$opts_admon"
- exit 1 ;;
- esac
-done
-
-shift $(($OPTIND - 1))
-
-if [ -z "$BUILDDIR" ]; then
- BUILDDIR=`pwd`
-fi
-cd $BUILDDIR
-
-DISTROS="$@"
-if [ -z "$DISTROS" ]; then
- DISTROS=xsl
-fi
-
-if [ -z "$DISTROS" ]; then
- echo
- echo "`basename $0`: error: No DISTROS specified. Stopping."
- echo
- printf "$usage"
- printf "$opts_admon"
- exit 1;
-else
- # We may want to use `git describe` here, once we use real tags...
- REVISION=$(git rev-parse HEAD)
- for DISTRO in $DISTROS; do
- printf "Running svn update in gentext and $DISTRO working directories...\n" 1>&2
- if test "$SVNCHECK" = "yes"; then
- if test $(cat $DISTRO/REVISION) = $REVISION; then
- printf "$DISTRO distro is up to date. Skipping.\n" 1>&2
- break
- fi
- fi
- echo $REVISION > $DISTRO/REVISION
- lock_timer=0
- # wait for lock file (if any) to clear
- printf "Waiting for lock file to clear..." 1>&2
- while [ -f $TMP/docbook-*-$RELEASEVERSION.lock ]; do
- if [ $lock_timer = $LOCK_TIMEOUT ]; then
- # time out after reaching $LOCK_TIMEOUT seconds
- # default is 1200 seconds (20 minutes)
- echo
- printf "Timed out after $LOCK_TIMEOUT seconds waiting for lock file to clear.\n"
- echo "You probably have a stale $TMP/docbook-$DISTRO-$RELEASEVERSION.lock file that you need to delete."
- exit 1
- fi
- printf "." 1>&2
- sleep 1
- let lock_timer=$lock_timer+1
- done
- printf "Done.\n" 1>&2
-
- printf "Doing some initialization..." 1>&2
- # create new lock file
- touch $TMP/docbook-$DISTRO-$RELEASEVERSION.lock
- # remove old log file, if any
- rm -f $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp
-
- DATE=`date +%Y-%m-%d`
- TIME=`date '+%H%M'`
- ZONE=`date '+%Z'`
-
- #if [ -f $DISTRO/CVS/Root ]; then
- # CVSROOT=`cat $DISTRO/CVS/Root`
- # export CVSROOT
- # CVSUSER=`sed 's/^:.\+:\([^@]\+\)@.\+$/\1/' $DISTRO/CVS/Root`
- # if [ "$CVSUSER" != "anonymous" ]; then
- # CVS_RSH=ssh
- # export CVS_RSH
- # fi
- # if [ -z "$OVERRIDE_CVSUSER" ]; then
- # # if no value for USER has been specified via -u option, set
- # # SITEUSER for ssh uploads to same value as CVSUSER
- # SITEUSER=$CVSUSER
- # fi
- #fi
- #rm -f $DISTRO/LatestTag
- rm -f $DISTRO/VERSION
- git checkout $DISTRO/VERSION
-
- printf "." 1>&2
-
- # replace the current fm:Version value with the snapshot number
- cp -p $DISTRO/VERSION $DISTRO/VERSION.tmp
- # FIXME: we really should be doing this using a modifiled XSLT identity
- # transform, but anyway, this works OK for now...
- if test "$SVNCHECK" = "yes"; then
- sed "s/Version>.\+</Version>$RELEASEVERSION\_$REVISION\</" $DISTRO/VERSION.tmp > $DISTRO/VERSION
- else
- # forced builds omit $REVISION suffix
- sed "s/Version>.\+</Version>$RELEASEVERSION\</" $DISTRO/VERSION.tmp > $DISTRO/VERSION
- fi
- rm $DISTRO/VERSION.tmp
-
- # copy VERSION to VERSION.xsl
- cp $DISTRO/VERSION $DISTRO/VERSION.xsl
-
- printf "Done.\n" 1>&2
-
- # start re-directing stout and stderr to log file (if logging enabled)
- if [ $LOGDIR ]; then
- echo "Logging all further output to $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp"
- exec 1> $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp
- exec 2>&1
- fi
-
- date
- echo
- # echo selected variables
- set | grep "^CHANGE\|REVISION"
- echo
-
- #echo "Running svn update in gentext and $DISTRO working directories..."
- #svn cleanup
- #svn update gentext || exit 1
- #svn update $DISTRO || exit 1
- #echo
-#
- echo
- date
- echo "Building $DISTRO distribution..."
- echo
-
- if test "$SVNCHECK" = "yes"; then
- make distrib -C $DISTRO XSLT="$repo_dir/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
- else
- make release -C $DISTRO XSLT="$repo_dir/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER
- fi
-
- cat <<- EOF > HEADER.txt
-The snapshot for a particular distribution is re-built automatically each time
-a change is checked into the SVN source tree for the distribution. The most
-recent build was of the "$DISTRO" distribution, for revision $REVISION,
-on $DATE at $TIME $ZONE.
-
-These snapshots are intended for testing purposes only and otherwise come with
-no guarantees. Any of them may in fact be broken at any given time.
-EOF
-
- make $ZIPTARG -C $DISTRO ZIPVER=$RELEASEVERSION TMP=$TMP XSLT="$repo_dir/buildtools/xslt -$ENGINE" PDF_MAKER=$PDF_MAKER || exit 1
-
- cat <<- EOF > $TMP/line.tmp
-
---------------------------------------------------------------------------------
-Latest Changes:
---------------------------------------------------------------------------------
-
-EOF
- git log -n 200 > LatestChanges
-
- cat HEADER.txt $TMP/line.tmp LatestChanges > README.txt
- rm $TMP/line.tmp
-
- # Uncompress tarball to local mirror directory.
- # Previously, we uploaded and untarred it to the remote host
- # (sourceforge.net web server), but 100Mb quota limit at
- # Sourceforge made that a not-very-efficient use of the
- # project disk space
- cp $TMP/docbook*-$DISTRO*$RELEASEVERSION.tar.bz2 $SITEBASE
- (umask 002; \
- cd $SITEBASE; \
- rm -f docbook-$DISTRO-$RELEASEVERSION.log; \
- rm -rf $DISTRO; \
- rm -rf $DISTRO-$ADDEDSUFFIX; \
- for tarball in docbook-$DISTRO*$RELEASEVERSION.tar.bz2; do \
- cat $tarball | bunzip2 | \
- (cd $TMP; $TAR xf$TARFLAGS -); \
- done; \
- mkdir $DISTRO; \
- cp -pR $TMP/docbook-$DISTRO-$RELEASEVERSION/* $DISTRO; \
- if [ -d $TMP/docbook-$DISTRO-$ADDEDSUFFIX-$RELEASEVERSION ]; then \
- mkdir $DISTRO-$ADDEDSUFFIX; \
- cp -pR $TMP/docbook-$DISTRO-$ADDEDSUFFIX-$RELEASEVERSION/* $DISTRO-$ADDEDSUFFIX; \
- fi; \
- )
- cp \
- $TMP/docbook*-$DISTRO*$RELEASEVERSION.zip \
- README.txt \
- LatestChanges \
- $SITEBASE
-
- rm -rf $TMP/docbook-$DISTRO*$RELEASEVERSION.tar.bz2
- rm -rf $TMP/docbook-$DISTRO*$RELEASEVERSION.tar.gz
- rm -rf $TMP/docbook-$DISTRO*$RELEASEVERSION.zip
- rm -rf $TMP/docbook-$DISTRO-$RELEASEVERSION
- rm -rf $TMP/docbook-$DISTRO-$ADDEDSUFFIX-$RELEASEVERSION
-
- rm -f $DISTRO/LatestChanges HEADER.txt README.txt LatestChanges
-
- date
-
- # set up the e-mail From and To headers for buildbot message
- cat <<- EOF > $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
-From: docbook buildbot <buildbot@sideshowbarker.net>
-To: docbook-snapshots@lists.sourceforge.net
-EOF
-
- # Run build-check and determine if it exits without any errors
- if $repo_dir/buildtools/build-check $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp
- then
- # build-check completed successfully, so prepare the
- # buildbot message accordingly
- echo "Subject: $DISTRO snapshot $REVISION now available" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "$DISTRO snapshot $REVISION appears to have been built successfully" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- # append the commit message for this revision
- git show --quiet $REVISION >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "For further details about the code changes in this revision, see:" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "http://docbook.svn.sf.net/docbook/?rev=$REVISION&view=rev" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "You can download the snapshot here:" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "http://docbook.sf.net/snapshots/" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- else
- # build-check did not complete successfully, so prepare
- # the buildbot message accordingly
- echo "Subject: $DISTRO snapshot build is broken at r$REVISION" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "The $DISTRO snapshot build appears to be broken at r$REVISION or before." >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- # run buildcheck again and copy the output to the beginning
- # of the buildbot message
- $repo_dir/buildtools/build-check $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- # append the commit message for this revision
- git show --quiet $REVISION >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "For further details about the code changes in this revision, see:" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "http://docbook.svn.sf.net/docbook/?rev=$REVISION&view=rev" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "The complete log file for the r$REVISION build follows." >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo "-----------------------------------------------------------------" >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- # copy the entire log file to the buildbot message
- cat $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- echo >> $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
- fi
-
- # send the buildbot message
- /usr/sbin/sendmail -f buildbot@sideshowbarker.net docbook-snapshots@lists.sourceforge.net < $TMP/docbook-$DISTRO-$RELEASEVERSION-message.txt
-
- cp $LOGDIR/docbook-$DISTRO-$RELEASEVERSION.log.tmp $SITEBASE/docbook-$DISTRO-$RELEASEVERSION.log
- rm -f $TMP/docbook-$DISTRO-$RELEASEVERSION.lock
-
- cd -
- done
-fi
#!/bin/sh
-# $Id$
TEMPDIR=/tmp
SVN=svn
Organization for the Advancement of Structured Information
Standards (OASIS).
- Release: $Id: docbook.rnc 7474 2007-09-28 18:50:07Z nwalsh $
-
Permission to use, copy, modify and distribute the DocBook schema
and its accompanying documentation for any purpose and without fee
is hereby granted in perpetuity, provided that the above copyright
xmlns:sf="http://sourceforge.net/"
xmlns:dyn="http://exslt.org/dynamic"
version='1.0'>
- <!-- ********************************************************************
- $Id$
- ******************************************************************** -->
<xsl:output method="text"/>
<xsl:param name="expression"/>
exclude-result-prefixes="exsl sf"
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
#!/bin/bash
-# $Id$
-# $Source$ #
# install.sh - Set up user environment for a XML/XSLT distribution
<xsl:output indent="yes"/>
-<!-- ********************************************************************
- $Id$
- ******************************************************************** -->
-
<!-- ==================================================================== -->
<xsl:include href="VERSION.xsl"/>
<book xmlns="http://docbook.org/ns/docbook" version="5.0">
<info><title>Unit Test: refentry.007</title>
-<releaseinfo role="CVS">$Id: refentry.007.xml 7282 2007-08-23 09:27:01Z xmldoc $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><personname><firstname>Norman</firstname><surname>Walsh</surname></personname><affiliation><address><email>ndw@nwalsh.com</email></address></affiliation></author>
</info>
<reference><info><title>Reference</title></info>
<book>
<bookinfo>
<title>Unit Test: refentry.007</title>
-<releaseinfo role="CVS">$Id: refentry.007.xml 7282 2007-08-23 09:27:01Z xmldoc $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
#!/bin/sh
-# $Id$
# release-announce - send DocBook Project release announcements
# stylesheet directories from a directory of
# non-namespaced stylesheets.
#
-# $Id: xslns-build 9483 2012-07-09 21:38:55Z bobstayton $
-#
my $Usage = "
USAGE:
# targets in this file are used to build and upload the namespaced
# version of the DocBook Project XSL Stylesheets
-# $Id$
-
freshmeat-nons:
ifeq ($(SFRELID),)
@echo "You must specify the sourceforge release identifier in SFRELID"
# Run xslt on xsl/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/readme.xml \
- $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/xsl/tools/xsl/build/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-nons-$(ZIPVER)/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml \
- $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/xsl/tools/xsl/build/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-nons-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml
# Turn off validation in webhelp:
# stylesheet directories from a directory of
# non-namespaced stylesheets.
#
-# $Id$
-#
my $Usage = "
USAGE:
# targets in this file are used to build and upload the namespaced
# version of the DocBook Project XSL Stylesheets
-# $Id$
-
freshmeat-ns:
ifeq ($(SFRELID),)
@echo "You must specify the sourceforge release identifier in SFRELID"
# Run xslt on xsl/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/readme.xml \
- $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/xsl/tools/xsl/build/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-ns-$(ZIPVER)/webhelp/docsrc/readme.xml
$(XSLT) \
$(TMP)/docbook-$(DISTRO)-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml \
- $(repo_dir)/docbook/relaxng/tools/db4-upgrade.xsl \
+ $(repo_dir)/xsl/tools/xsl/build/db4-upgrade.xsl \
$(TMP)/docbook-$(DISTRO)-ns-$(ZIPVER)/webhelp/docsrc/xinclude-test.xml
# Turn off validation in webhelp:
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
<doc:reference xmlns="">
<referenceinfo>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<author><surname>Walsh</surname>
<firstname>Norman</firstname></author>
-# $Id$
-
include ../buildtools/Makefile.incl
include ../releasetools/Variables.mk
<articleinfo>
<title>DocBook Project Testdocs</title>
<pubdate><?dbtimestamp format="Y-m-d"?></pubdate>
- <releaseinfo role="cvs">$Id$</releaseinfo>
+ <releaseinfo role="cvs"></releaseinfo>
<corpauthor>DocBook Project Development Team</corpauthor>
</articleinfo>
<chapter>
<chapterinfo>
<title>Unit Test: article.001.xml</title>
-<releaseinfo role="CVS">$Id: article.001.xml,v 1.2 2002/04/18 22:15:39 nwalsh Exp $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<authorgroup>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
<article id="ws">
<articleinfo>
<title>Unit Test: protocol.001.xml</title>
-<releaseinfo role="CVS">
-$Id$
-</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
<article>
<articleinfo>
<title>Unit Test: screen.002</title>
-<releaseinfo role="CVS">$Id: $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Thomas</firstname><surname>Schraitle</surname>
</author>
</articleinfo>
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
<chapter>
<chapterinfo>
-<releaseinfo role="CVS">$Id: simplesect.001.xml 4056 2004-11-23 13:28:50Z nwalsh $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
</chapterinfo>
<title>Unit Test: simplemsgentry</title>
<article>
<articleinfo>
<title>Unit Test: svg.002.xml</title>
-<releaseinfo role="CVS">$Id: article.001.xml,v 1.2 2002/04/18 22:15:39 nwalsh Exp $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
<article>
<articleinfo>
<title>Unit Test: table.017</title>
-<releaseinfo role="CVS">
-$Id$
-</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
<article id="ws">
<articleinfo>
<title>Unit Test: wordsize.001.xml</title>
-<releaseinfo role="CVS">
-$Id$
-</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
-$Id$
-
INSTALL file for the DocBook Website distribution
----------------------------------------------------------------------
-# $Id$
-
include ../buildtools/Makefile.incl
include ../releasetools/Variables.mk
-$Id$
-
README for the DocBook Website distribution
Website is an XML DTD and XSL stylesheet collection for building,
<articleinfo>
<title>DocBook Website Release Notes</title>
<pubdate><?dbtimestamp format="Y-m-d"?></pubdate>
- <releaseinfo role="cvs">$Id$</releaseinfo>
+ <releaseinfo role="cvs"></releaseinfo>
<corpauthor>DocBook Project Development Team</corpauthor>
</articleinfo>
<para>These are the release notes for the DocBook Website
# Example -*- makefile -*- for building a site using DocBook Website
#
-# $Id$
-#
# ------------------------------------------------------------------
# The default value DOCBOOK_WEBSITE below is the canonical URI for
# the current DocBook Website distribution. If you have SGML or
<!-- THIS IS A WORK IN PROGRESS. IN PARTICULAR, IT DOESN'T WORK AT ALL -->
-<!-- $Id$ -->
-
<!-- Set the base directory to the location of the xml files -->
<project name="generate"
basedir="/sourceforge/docbook/website/example"
<?xml version="1.0"?>
-<!-- $Id$ -->
<!-- This is a schema-locating file for use with a RELAX NG-aware editor -->
<!-- such as Emacs/nXML mode. It tells your editor to automatically -->
Copyright (C) 2002 Norman Walsh
http://sourceforge.net/projects/docbook/
- $Id$
-
Please direct all questions and comments about this DTD to
Norman Walsh, <ndw@nwalsh.com>.
-->
Copyright (C) 1997-2003 Norman Walsh
http://sourceforge.net/projects/docbook/
- $Id$
-
Please direct all questions and comments about this DTD to
Norman Walsh, <ndw@nwalsh.com>.
Copyright (C) 2002 Norman Walsh
http://sourceforge.net/projects/docbook/
- $Id$
-
Please direct all questions and comments about this DTD to
Norman Walsh, <ndw@nwalsh.com>.
Copyright (C) 1997-2003 Norman Walsh
http://sourceforge.net/projects/docbook/
- $Id$
-
Please direct all questions and comments about this DTD to
Norman Walsh, <ndw@nwalsh.com>.
Copyright (C) 2002 Norman Walsh
http://sourceforge.net/projects/docbook/
- $Id$
-
Please direct all questions and comments about this DTD to
Norman Walsh, <ndw@nwalsh.com>.
-->
----------------------------------------------------------------------
README file for the libxslt extensions
----------------------------------------------------------------------
-$Id$
These are XSLT extensions written in Python for use with the DocBook XML
stylesheets and the libxslt library[1].
# docbook.py: extension module
-# $Id$
import sys
import string
#!/usr/bin/python -u
-# $Id$
import sys
import libxml2
-$Id$
-
INSTALL file for the DocBook Saxon extensions
----------------------------------------------------------------------
-# $Id$
-
include ../buildtools/Makefile.incl
include ../releasetools/Variables.mk
----------------------------------------------------------------------
README file for the DocBook Saxon Extensions
----------------------------------------------------------------------
-$Id$
These are Java extensions for use with the DocBook XML stylesheets
and the Saxon XSLT engine.
/**
* <p>Saxon extension to convert CVS date strings into local time</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class CVS {
/**
/**
* <p>Saxon extension to decorate a result tree fragment with callouts.</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides the guts of a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class CalloutEmitter extends CopyEmitter {
/** A stack for the preserving information about open elements. */
/**
* <p>Saxon extension to scan the column widths in a result tree fragment.</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class ColumnScanEmitter extends com.icl.saxon.output.Emitter {
/** The number of columns seen. */
/**
* <p>Saxon extension to scan the column widths in a result tree fragment.</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class ColumnUpdateEmitter extends CopyEmitter {
/** The number of columns seen. */
/**
* <p>A Saxon 6.0 Emitter that clones its input.</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class CopyEmitter extends com.icl.saxon.output.Emitter {
/** The result tree fragment containing the copied fragment. */
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
- **/
+ */
public abstract class FormatCallout {
protected static final String foURI = "http://www.w3.org/1999/XSL/Format";
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
- **/
+ */
public class FormatGraphicCallout extends FormatCallout {
String graphicsPath = "";
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
- **/
+ */
public class FormatTextCallout extends FormatCallout {
public FormatTextCallout(NamePool nPool, boolean fo, boolean xhtml) {
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
- **/
+ */
public class FormatUnicodeCallout extends FormatCallout {
int unicodeMax = 0;
/**
* <p>Saxon extension to examine intrinsic size of images</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2002 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class ImageIntrinsics implements ImageObserver {
boolean imageLoaded = false;
/**
* <p>Saxon extension to count the lines in a result tree fragment.</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class LineCountEmitter extends com.icl.saxon.output.Emitter {
/** The number of lines seen. */
/**
* <p>Saxon extension to decorate a result tree fragment with line numbers.</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides the guts of a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class NumberLinesEmitter extends CopyEmitter {
/** A stack for the preserving information about open elements. */
/**
* <p>Saxon extensions supporting Tables</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class Table {
/** The number of pixels per inch */
/**
* <p>Saxon extension element for inserting text
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class Text extends StyleElement {
/**
/**
* <p>Saxon extension element factory
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
* @see Text
*
*/
/**
* <p>Saxon extension for unwrapping nested links</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2002 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class UnwrapLinks {
/** True if the stylesheet is producing formatting objects */
/**
* <p>Saxon extension to unwrap links in a result tree fragment.</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2002 Norman Walsh.</p>
*
* <p>This class provides the guts of a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class UnwrapLinksEmitter extends CopyEmitter {
/** A stack for the preserving information about open elements. */
/**
* <p>Saxon extensions supporting DocBook verbatim environments</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class Verbatim {
/** True if the stylesheet is producing formatting objects */
import com.icl.saxon.charcode.PluggableCharacterSet;
/**
- *
- * $Id$
*
* File: Windows1252CharacterSet.java
* Created: May 26 2004
-# $Id: Makefile 7424 2007-09-01 10:59:59Z xmldoc $
-
include ../buildtools/Makefile.incl
include ../releasetools/Variables.mk
-$Id: INSTALL 7275 2007-08-23 04:49:53Z xmldoc $
-
INSTALL file for the DocBook Xalan extensions
----------------------------------------------------------------------
-# $Id: Makefile 7296 2007-08-28 09:16:40Z xmldoc $
-
include ../buildtools/Makefile.incl
include ../releasetools/Variables.mk
----------------------------------------------------------------------
README file for the DocBook Xalan Extensions
----------------------------------------------------------------------
-$Id: README 7275 2007-08-23 04:49:53Z xmldoc $
These are Java extensions for use with the DocBook XML stylesheets
and the Xalan-Java XSLT engine.
/**
* <p>Xalan extension to convert CVS date strings into local time</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class CVS {
/**
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class is just for book keeping in the Verbatim class.
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
- * */
+ */
public class Callout implements Comparable {
/** The callout number. */
private int callout = 0;
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
**/
public abstract class FormatCallout {
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
**/
public class FormatDingbatCallout extends FormatCallout {
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
- **/
+ */
public class FormatGraphicCallout extends FormatCallout {
String graphicsPath = "";
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
**/
public class FormatTextCallout extends FormatCallout {
/**
* <p>Utility class for the Verbatim extension (ignore this).</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000, 2001 Norman Walsh.</p>
*
* <p><b>Change Log:</b></p>
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
* @see Verbatim
- *
- * @version $Id$
**/
public class FormatUnicodeCallout extends FormatCallout {
/**
* <p>Xalan extension to examine intrinsic size of images</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2002 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class ImageIntrinsics implements ImageObserver {
boolean imageLoaded = false;
/**
* <p>Xalan extensions supporting Tables</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2000 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class Table {
/** The number of pixels per inch */
/**
* <p>Xalan extension element for inserting text
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2001 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class Text {
/**
/**
* <p>Xalan extensions supporting DocBook verbatim environments</p>
*
- * <p>$Id$</p>
- *
* <p>Copyright (C) 2001 Norman Walsh.</p>
*
* <p>This class provides a
* @author Norman Walsh
* <a href="mailto:ndw@nwalsh.com">ndw@nwalsh.com</a>
*
- * @version $Id$
- *
*/
public class Verbatim {
/** A stack to hold the open elements while walking through a RTF. */
<xsl:output indent="yes"/>
-<!-- ********************************************************************
- $Id: make-catalog.xsl 9627 2012-10-20 23:15:46Z dcramer $
- ******************************************************************** -->
-
<!-- ==================================================================== -->
<xsl:include href="VERSION.xsl"/>
-$Id$
INSTALL file for the DocBook XSL stylesheets distribution
# value of RELEASE_DEPENDS is a space-separated list of any
# targets for this distro's "release" target to depend on
-RELEASE_DEPENDS = check RELEASE-NOTES.pdf RELEASE-NOTES-PARTIAL.txt
+RELEASE_DEPENDS = RELEASE-NOTES.pdf RELEASE-NOTES-PARTIAL.txt
# value of RELEASE_CLEAN_TARGETS is any distro-specific targets
# that should be run when the release-clean target is called
.PHONY: distrib clean doc docsrc xhtml
all: base
-# If you're annoyed about getting the reminder that it's possible
-# to use xsltproc to build, delete the following conditional from
-# this makefile.
-ifeq (,$(findstring xsltproc,$(XSLT)))
- @echo
- @echo "-----------------------------------------------------------------"
- @echo " To build using xsltproc, run make as follows:"
- @echo " make XSLTENGINE=\"xsltproc\""
- @echo "-----------------------------------------------------------------"
-endif
-
base:
- for i in $(DIRS) __bogus__; do \
- if [ $$i != __bogus__ ] ; then \
- echo "$(MAKE) -C $$i"; $(MAKE) -C $$i; \
- fi \
- done
+ for d in $(DIRS) ; do $(MAKE) -C $$d; done
xhtml:
$(MAKE) -C xhtml
$(MAKE) -C doc RELVER=$(RELVER)
clean:
- for i in $(DIRS) __bogus__; do \
- if [ $$i != __bogus__ ] ; then \
- echo "$(MAKE) clean -C $$i"; $(MAKE) clean -C $$i; \
- fi \
- done
+ for d in $(DIRS) ; do $(MAKE) -C $$d clean; done
$(MAKE) clean -C xhtml
$(MAKE) clean -C xhtml-1_1
$(MAKE) clean -C doc
-# $Id$
#
# This makefile does a "smoketest" of stylesheets for various
# output formats in the DocBook XSL Stylesheets release package.
# SMOKETEST_CLEAN_TARGET; e.g. "make check SMOKETEST_CLEAN_TARGET=''"
SMOKETEST_CLEAN_TARGET=smoketest-clean
-check: smoketest-make-tmp-dir smoketest-normal smoketest-normal-profile smoketest-chunk smoketest-chunk-profile smoketest-man smoketest-man-profile smoketest-two-profile $(SMOKETEST_CLEAN_TARGET)
+check: tests smoketest-make-tmp-dir smoketest-normal smoketest-normal-profile smoketest-chunk smoketest-chunk-profile smoketest-man smoketest-man-profile smoketest-two-profile $(SMOKETEST_CLEAN_TARGET)
+
+.PHONY: tests
+tests:
+ $(MAKE) -C tests
smoketest-make-tmp-dir:
$(RM) -r $(TMP_OUTPUT_DIR)
----------------------------------------------------------------------
README file for the DocBook XSL Stylesheets
----------------------------------------------------------------------
-$Id$
These are XSL stylesheets for transforming DocBook XML document
instances into various output formats.
-$Id$
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The DocBook XSL Stylesheets release build has been tested under
the bash shell on Linux, Darwin/OSX with MacPorts, and Cygwin. You
<fm:Branch>XSL Stylesheets</fm:Branch>
<!-- * set/keep fm:version as N.NN.N-pre except for official releases, -->
<!-- * then after the release, revert it to N.NN.N-pre & check back in -->
- <fm:Version>1.79.1</fm:Version>
+ <fm:Version>snapshot</fm:Version>
<!--
<fm:License>MIT/X Consortium License</fm:License>
-->
<fm:Branch>XSL Stylesheets</fm:Branch>
<!-- * set/keep fm:version as N.NN.N-pre except for official releases, -->
<!-- * then after the release, revert it to N.NN.N-pre & check back in -->
- <fm:Version>1.79.1</fm:Version>
+ <fm:Version>snapshot</fm:Version>
<!--
<fm:License>MIT/X Consortium License</fm:License>
-->
exclude-result-prefixes="exsl d xlink"
version="1.0">
-<!-- $Id: assemble.xsl,v 1.10 2012-04-10 07:56:58 bobs Exp $ -->
-
<xsl:preserve-space elements="*"/>
<xsl:strip-space elements="assembly structure module resources resource"/>
version="1.0"
exclude-result-prefixes="exsl">
-<!-- ********************************************************************
- $Id: topic-maker-chunk.xsl,v 1.7 2012-04-16 00:29:35 bobs Exp $
- ********************************************************************
--->
<xsl:import href="topic-maker.xsl"/>
exclude-result-prefixes="exsl"
version="1.0">
-<!-- $Id: topic-maker.xsl,v 1.3 2012-04-16 00:29:35 bobs Exp $ -->
-
<!-- This stylesheet convert DocBook elements into topic element.
The chunking takes place elsewhere. -->
exclude-result-prefixes="k">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
xmlns:i="urn:cz-kosek:functions:index">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>Common » Character-Map Template Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<!-- * yes, partintro is a valid child of a reference... -->
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>Common » Base Template Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<!-- * yes, partintro is a valid child of a reference... -->
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file contains common entity declarations used for
sorting (and other things) by various templates.
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
</xsl:choose>
</xsl:template>
-</xsl:stylesheet>
\ No newline at end of file
+</xsl:stylesheet>
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<doc:reference xmlns=""><info><title>Common Processing Instruction Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<partintro id="partintro">
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>Common » Refentry Metadata Template Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<!-- * yes, partintro is a valid child of a reference... -->
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>Common » Utility Template Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<!-- * yes, partintro is a valid child of a reference... -->
----------------------------------------------------------------------
README file for the DocBook XSL Stylesheets reference documentation
----------------------------------------------------------------------
-$Id$
This is generated reference documentation for the DocBook XSL
stylesheets, primarily documentation on the parameters you can
/* reference.css, a stylesheet for reference documentation
* generated by the DocBook XSL Stylesheets */
-/* $Id$ */
div.legalnotice {
font-size: 80%;
<!-- * WARNING WARNING WARNING -->
<!-- * WARNING WARNING WARNING -->
<title>DocBook XSL Stylesheets: Reference Documentation</title>
- <info><releaseinfo role="meta">$Id$ </releaseinfo>
+ <info><releaseinfo role="meta"></releaseinfo>
<xi:include href="./authors.xml"/>
<xi:include href="./copyright.xml" xpointer="xpointer(//*[local-name() = 'copyright'])"/>
<xi:include href="./license.xml"/>
<xsl:import href="../html/chunk.xsl"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<!--
********************************************************************************
- $Id$
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<book>
<bookinfo>
<title>Unit Test: stamp.001</title>
-<releaseinfo role="CVS">$Id: stamp.001.xml 4056 2004-11-23 13:28:50Z nwalsh $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
<book>
<bookinfo>
<title>Unit Test: stamp.001</title>
-<releaseinfo role="CVS">$Id: stamp.001.xml 4056 2004-11-23 13:28:50Z nwalsh $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
<book>
<bookinfo>
<title>Unit Test: stamp.001</title>
-<releaseinfo role="CVS">$Id: stamp.001.xml 4056 2004-11-23 13:28:50Z nwalsh $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
<book>
<bookinfo>
<title>Unit Test: stamp.001</title>
-<releaseinfo role="CVS">$Id: stamp.001.xml 4056 2004-11-23 13:28:50Z nwalsh $</releaseinfo>
+<releaseinfo role="CVS"></releaseinfo>
<author><firstname>Norman</firstname><surname>Walsh</surname>
<affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
</author>
exclude-result-prefixes="exsl"
version="1.0">
-<!-- $Id: chunk.xsl,v 1.1 2011-09-16 21:43:45 bobs Exp $ -->
-
<!-- This is the main driver stylesheet file. It imports or
includes all the components that it needs. -->
<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,v 1.1 2011-09-16 21:43:45 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="#default"
version="1.0">
-<!-- $Id: docbook.xsl,v 1.1 2011-09-16 21:43:45 bobs Exp $ -->
-
<xsl:import href="../xhtml5/docbook.xsl"/>
<xsl:include href="epub3-element-mods.xsl"/>
exclude-result-prefixes="exsl dc ncx opf stext str xtext"
version="1.0">
-<!-- $Id: epub3-chunk-mods.xsl,v 1.1 2011-09-16 21:43:45 bobs Exp $ -->
-
<xsl:include href="../xhtml5/html5-chunk-mods.xsl"/>
<!--==============================================================-->
exclude-result-prefixes="#default cf date db dc dcterms epub exsl m ncx opf pls set ssml stext str svg xtext"
version="1.0">
-<!-- $Id: epub3-element-mods.xsl,v 1.1 2011-09-16 21:43:45 bobs Exp $ -->
-
<xsl:import href="titlepage.templates.xsl"/>
<!--==============================================================-->
<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,v 1.1 2011-09-16 21:43:45 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
<!-- ********************************************************************
- $Id: profile-docbook.xsl,v 1.1 2011-09-16 21:43:45 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
-# $Id: Makefile 7877 2008-03-08 04:07:52Z xmldoc $
-
all: saxon65.jar xalan27.jar webhelpindexer.jar xslt.py docbook.py README.LIBXSLT
saxon65.jar: $(repo_dir)/xsl-saxon/saxon65.jar
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
xmlns:axf="http://www.antennahouse.com/names/XSL/Extensions"
version='1.0'>
-<!-- ********************************************************************
- $Id$
- ******************************************************************** -->
-
<xsl:template name="axf-document-information">
<xsl:variable name="authors" select="(//author|//editor|
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://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id: block.xsl 9998 2015-10-15 17:47:59Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output method="xml" indent="no"/>
<!-- ********************************************************************
- $Id: docbook.xsl 9988 2015-09-17 20:22:22Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<doc:reference xmlns="">
<referenceinfo>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<author><surname>Walsh</surname>
<firstname>Norman</firstname></author>
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
(c) Stephane Bline Peregrine Systems 2001
Driver file to allow pdf bookmarking (based on fop implementation).
******************************************************************** -->
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>\r
\r
<!-- ********************************************************************\r
- $Id$\r
- ********************************************************************\r
\r
This file is part of the XSL DocBook Stylesheet distribution.\r
See ../README or http://docbook.sf.net/release/xsl/current/ for\r
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id: lists.xsl 9999 2015-10-15 17:55:56Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
<info>
<title>FO Parameter Reference</title>
<releaseinfo role="meta">
-$Id: param.xweb 9996 2015-10-01 16:35:10Z bobstayton $
</releaseinfo>
<author>
<personname>
<!-- This file is generated from param.xweb -->
<!-- ********************************************************************
- $Id: param.xweb 9996 2015-10-01 16:35:10Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This extension stops PassiveTeX from merging subsequent '-' to
dashes. You must set passivetex.extensions to '1' if you want get
this functionality.
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<doc:reference xmlns=""><info><title>FO Processing Instruction Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
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.
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:include href="../common/table.xsl"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>Formatting Object Table Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<partintro xml:id="partintro">
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
t:copy-namespaces="fo">
<!-- ********************************************************************
- $Id: titlepage.templates.xml 9990 2015-09-17 20:52:14Z bobstayton $
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version='1.0'>
<!-- ********************************************************************
- $Id: titlepage.xsl 9993 2015-09-17 21:13:32Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
(c) Stephane Bline Peregrine Systems 2001
Implementation of xep extensions:
* Pdf bookmarks (based on the XEP 2.5 implementation)
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>\r
\r
<!-- ********************************************************************\r
- $Id$\r
- ********************************************************************\r
\r
This file is part of the XSL DocBook Stylesheet distribution.\r
See ../README or http://docbook.sf.net/release/xsl/current/ for\r
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheet distribution.
See ../README or http://docbook.sf.net/ for copyright
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<!-- ********************************************************************
- $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://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id: block.xsl 9997 2015-10-15 17:44:09Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="exsl cf">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="exsl cf">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="exsl">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
extension-element-prefixes="saxon redirect lxslt exsl">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="cf exsl">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="doc">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
indent="no"/>
<!-- ********************************************************************
- $Id: docbook.xsl 9983 2015-09-16 20:58:50Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<doc:reference xmlns="">
<referenceinfo>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<author><surname>Walsh</surname>
<firstname>Norman</firstname></author>
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<?xml version="1.0"?>\r
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xslthl="http://xslthl.sf.net" exclude-result-prefixes="xslthl" version="1.0">\r
<!-- ********************************************************************\r
- $Id$\r
- ********************************************************************\r
\r
This file is part of the XSL DocBook Stylesheet distribution.\r
See ../README or http://docbook.sf.net/release/xsl/current/ for\r
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>\r
\r
<!-- ********************************************************************\r
- $Id: html.xsl 9306 2012-04-28 03:49:00Z bobstayton $\r
- ********************************************************************\r
\r
This file is part of the XSL DocBook Stylesheet distribution.\r
See ../README or http://docbook.sf.net/release/xsl/current/ for\r
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="doc">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="doc">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
extension-element-prefixes="saxon redirect lxslt">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="doc">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>HTML Parameter Reference</title>
<releaseinfo role="meta">
-$Id: param.xweb 9995 2015-10-01 16:34:45Z bobstayton $
</releaseinfo>
<author>
<personname>
version='1.0'>
<!-- ********************************************************************
- $Id: param.xweb 9995 2015-10-01 16:34:45Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<doc:reference xmlns=""><info><title>HTML Processing Instruction Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<partintro xml:id="partintro">
exclude-result-prefixes="exsl">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="doc">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="exsl"
version="1.0">
-<!-- $Id$ -->
-
-
<!-- Support for the DocBook Publishers extension -->
<xsl:template match="drama">
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:include href="../common/table.xsl"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id: titlepage.xsl 9983 2015-09-16 20:58:50Z bobstayton $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0"
exclude-result-prefixes="doc exsl set h db ng">
-<!-- ********************************************************************
- $Id$
- ******************************************************************** -->
-
<!-- ==================================================================== -->
<!-- Customizations of standard HTML stylesheet parameters -->
exclude-result-prefixes="doc exsl set">
<!-- ********************************************************************
- $Id$
- ********************************************************************
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
exclude-result-prefixes="doc exsl set">
<!-- ********************************************************************
- $Id$
- ********************************************************************
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
#!/bin/bash
-# $Id: install.sh 7942 2008-03-26 06:08:08Z xmldoc $
-# $Source$ #
# install.sh - Set up user environment for a XML/XSLT distribution
<xsl:output method="html"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
xmlns:saxon="http://icl.com/saxon">
<info>
<title>XSL Library Template Reference</title>
- <releaseinfo role="cvs">$Id$</releaseinfo>
+ <releaseinfo role="cvs"></releaseinfo>
<author>
<personname>
<surname>Walsh</surname><firstname>Norman</firstname>
<src:fragment xml:id="top" mundane-result-prefixes="xsl">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="u">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
encoding="UTF-8"
indent="no"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>Manpages Parameter Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
<author>
<orgname>The DocBook Project</orgname>
<!-- This file is generated from param.xweb -->
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<doc:reference xmlns=""><info><title>manpages Processing Instruction Reference</title>
<releaseinfo role="meta">
- $Id: pi.xsl 7644 2008-01-16 11:04:07Z xmldoc $
</releaseinfo>
</info>
<partintro xml:id="partintro">
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="exsl"
version="1.0">
-<!-- $Id$ -->
<!-- This stylesheet module contains templates that match on
non-namespaced HTML table elements and generate tbl markup.
The HTML comes either from an HTML-markup table in the source,
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
xmlns:rnd='http://docbook.org/ns/docbook/roundtrip'
xmlns:xlink='http://www.w3.org/1999/xlink'>
- <!-- $Id$ -->
<!-- Stylesheet to convert word processing docs to DocBook -->
<!-- This stylesheet processes the output of sections2blocks.xsl -->
<xsl:output method="xml" indent='yes'/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output method="xml" indent='yes' encoding='ascii'/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output method="xml" indent='yes' standalone='yes' encoding='UTF-8'/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes='doc'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes='db'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
<!--= by makeSections.xsl and a =-->
<!--= mapping specification. =-->
<!--= =-->
-<!--= Revision history: =-->
-<!--= =-->
-<!--= $Id$ =-->
-<!--= =-->
<!--====================================-->
<axsl:output indent="yes"/>
<axsl:strip-space elements="*"/>
<xsl:output method="xml" indent='yes'/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
<info>
<title>Roundtrip Parameter Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
<author>
<personname>
<!-- This file is generated from param.xweb -->
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<!--= by makeSubsections.xsl and a =-->
<!--= mapping specification. =-->
<!--= =-->
-<!--= Revision history: =-->
-<!--= 1.1 2007-01-10 SRB =-->
-<!--= Output DocBook 5.0. =-->
-<!--= 1.0 2005-11-08 SRB =-->
-<!--= Initial version. =-->
-<!--= =-->
-<!--= $Id$ =-->
-<!--= =-->
<!--====================================-->
<axsl:output indent="yes"/>
<axsl:strip-space elements="*"/>
<xsl:output method='xml' indent="yes"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://nwalsh.com/docbook/xsl/ for copyright
-$Id$
-
README for the DocBook Slides distribution
For a more detailed manual on Slides, please see the doc
<articleinfo>
<title>DocBook Slides Release Notes</title>
<pubdate><?dbtimestamp format="Y-m-d"?></pubdate>
- <releaseinfo role="cvs">$Id$</releaseinfo>
+ <releaseinfo role="cvs"></releaseinfo>
<corpauthor>DocBook Project Development Team</corpauthor>
</articleinfo>
<para>These are the release notes for the DocBook Slides
-PARAMS=../../params/foil.footer.properties.xml \
- ../../params/foil.header.properties.xml \
- ../../params/foil.master.properties.xml \
- ../../params/foil.page-sequence.properties.xml \
- ../../params/foil.properties.xml \
- ../../params/foil.region-after.properties.xml \
- ../../params/foil.region-before.properties.xml \
- ../../params/foil.region-body.properties.xml \
- ../../params/foil.subtitle.properties.xml \
- ../../params/foil.title.master.xml \
- ../../params/foil.title.properties.xml \
- ../../params/foil.title.size.xml \
- ../../params/generate.copyright.xml \
- ../../params/generate.foilgroup.numbered.toc.xml \
- ../../params/generate.foilgroup.toc.xml \
- ../../params/generate.handoutnotes.xml \
- ../../params/generate.page.number.xml \
- ../../params/generate.pubdate.xml \
- ../../params/generate.speakernotes.xml \
- ../../params/generate.titlepage.xml \
- ../../params/handoutnotes.properties.xml \
- ../../params/mml.embedding.mode.fo.xml \
- ../../params/slide.font.family.xml \
- ../../params/slide.title.font.family.xml \
- ../../params/slides.properties.xml \
- ../../params/slides.titlepage.author.properties.xml \
- ../../params/slides.titlepage.authorgroup.properties.xml \
- ../../params/slides.titlepage.corpauthor.properties.xml \
- ../../params/slides.titlepage.master.properties.xml \
- ../../params/slides.titlepage.pubdate.properties.xml \
- ../../params/slides.titlepage.region-body.properties.xml \
- ../../params/slides.titlepage.subtitle.properties.xml \
- ../../params/slides.titlepage.title.properties.xml \
- ../../params/speakernotes.properties.xml \
- ../../params/svg.embedding.mode.fo.xml
+# foo
<info>
<title>Slides FO Parameter Reference</title>
<releaseinfo role="meta">
-$Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
</releaseinfo>
<author>
<personname>
<xsl:stylesheet exclude-result-prefixes="src" version="1.0">
<!-- ********************************************************************
- $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
- ********************************************************************
This file is part of the DocBook Slides Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
-all:
- cp ../slidy/graphics/face* ./
- cd callouts && make all
+faces=face1.gif face2.gif face3.gif face4.gif
+
+all: $(faces)
+ $(MAKE) -C callouts
clean:
rm ./face*
- cd callouts && make clean
+ $(MAKE) -C callouts clean
+
+%.gif: ../slidy/graphics/%.gif
+ cp $< $@
-all:
- /bin/sh ./gen.sh
+low_svg=$(patsubst %, %.svg, $(shell seq 1 9))
+high_svg=$(patsubst %, %.svg, $(shell seq 10 30))
+low_png=$(patsubst %.svg, %.png, $(low_svg))
+high_png=$(patsubst %.svg, %.png, $(high_svg))
+
+all: $(low_svg) $(high_svg) $(low_png) $(high_png)
clean:
rm -rf ./*.png
+ rm -rf ./*.svg
+
+$(low_svg): %.svg:
+ convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$*\"" -scale '24x24' $*.svg
+
+$(low_png): %.png:
+ convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$*\"" -scale '24x24' $*.png
+
+$(high_svg): %.svg:
+ convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$*\"" -scale '24x24' $*.svg
+
+$(high_png): %.png:
+ convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$*\"" -scale '24x24' $*.png
+
+++ /dev/null
-#!/bin/sh
-
-# $FreeBSD$
-
-#
-# This script was taken from FreeBSD.
-#
-# It uses ImageMagick to generate callout icons.
-#
-
-for i in `seq 9 1`
-do
- convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.png
- convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 160 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.svg
-done
-
-for i in `seq 21 10`
-do
- convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.png
- convert -size 202x202 xc:green -transparent green -fill black -draw 'circle 100,100 100' -fill white -stroke none -pointsize 140 -gravity center -kerning -5 -font Helvetica-bold -draw "text 0,5 \"$i\"" -scale '24x24' $i.svg
-done
-
-exit 0
<?xml version="1.0"?>
-<!-- $Id$ -->
-
<!-- This is a schema-locating file for use with a RELAX NG-aware editor -->
<!-- such as Emacs/nXML mode. It tells your editor to automatically -->
trang $< $@
clean:
-
-maintainer-clean: clean
- rm -f slides.rng
+ rm -f *.rng
#
# Copyright 2012 Gabor Kovesdan
#
-# Release: $Id$
-#
# Permission to use, copy, modify and distribute the DocBook Slides
# schema and its accompanying documentation for any purpose and without
# fee is hereby granted in perpetuity, provided that the above copyright
trang $< $@
clean:
-
-maintainer-clean: clean
- rm -f *.xsd
+ rm -rf *.xsd
-PARAMS=../../params/disable.collapsible.xml \
- ../../params/disable.incremental.xml \
- ../../params/generate.copyright.xml \
- ../../params/generate.foilgroup.numbered.toc.xml \
- ../../params/generate.foilgroup.toc.xml \
- ../../params/generate.handoutnotes.xml \
- ../../params/generate.pubdate.xml \
- ../../params/generate.speakernotes.xml \
- ../../params/generate.titlepage.xml \
- ../../params/mml.embedding.mode.xml \
- ../../params/svg.embedding.mode.xml \
- ../../params/user.css.xml \
- ../../params/wrap.slidecontent.xml \
- ../../params/s5.controls.xml \
- ../../params/s5.defaultview.xml \
- ../../params/s5.opera.css.xml \
- ../../params/s5.outline.css.xml \
- ../../params/s5.path.prefix.xml \
- ../../params/s5.print.css.xml \
- ../../params/s5.slides.css.xml \
- ../../params/s5.slides.js.xml \
- ../../params/slidy.duration.xml \
- ../../params/slidy.path.prefix.xml \
- ../../params/slidy.slidy.css.xml \
- ../../params/slidy.slidy.js.xml \
- ../../params/slidy.user.css.xml
+# foo
<info>
<title>Slides XHTML Parameter Reference</title>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<author>
<personname>
<xsl:stylesheet exclude-result-prefixes="src" version="1.0">
<!-- ********************************************************************
- $Id: param.xweb 6633 2007-02-21 18:33:33Z xmldoc $
- ********************************************************************
This file is part of the DocBook Slides Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<info>
<title>Titlepage Template Stylesheet Reference</title>
<releaseinfo role="meta">
- $Id$
</releaseinfo>
</info>
<partintro xml:id="intro_partintro">
-# $Id$
-
all: refentry.007.xml refentry.007.ns.xml
refentry.007.xml: $(repo_dir)/releasetools/refentry.007.xml
+++ /dev/null
-<book xmlns="http://docbook.org/ns/docbook" version="5.0">
-<info><title>Unit Test: refentry.007</title>
-
-<releaseinfo role="CVS">$Id: refentry.007.xml 7282 2007-08-23 09:27:01Z xmldoc $</releaseinfo>
-<author><personname><firstname>Norman</firstname><surname>Walsh</surname></personname><affiliation><address><email>ndw@nwalsh.com</email></address></affiliation></author>
-</info>
-<reference><info><title>Reference</title></info>
-
-<refentry>
- <info>
- <authorgroup>
- <author><personname><firstname>Norman</firstname><surname>Walsh</surname></personname><email>ndw@nwalsh.com</email><personblurb>
- <para>Wrote the original version of this document.</para>
- </personblurb></author>
- <editor><personname><firstname>Michael(tm)</firstname><surname>Smith</surname></personname><contrib>Added a bunch of test cases.</contrib><email>smith@sideshowbarker.net</email></editor>
- </authorgroup>
- <copyright>
- <year>2003</year>
- <holder>Norman Walsh</holder>
- </copyright>
- <copyright>
- <year>2006</year>
- <holder>Michael(tm) Smith</holder>
- </copyright>
- <legalnotice>
- <para>This file is a product of the DocBook Project.</para>
- </legalnotice>
- <legalnotice>
- <para>Share and share alike.</para>
- </legalnotice>
- </info>
-<refnamediv>
-<refname>FirstName</refname>
-<refname>SecondName</refname>
-<refpurpose>Purpose for FirstName</refpurpose>
-</refnamediv>
-
-<refnamediv>
-<refname>ThirdName</refname>
-<refpurpose>Purpose for ThirdName</refpurpose>
-</refnamediv>
-
-<refsynopsisdiv>
- <?dbfunclist ?>
- <funcsynopsis>
- <!-- * Yes, friend, Funcsynopsis is a verbatim -->
- <funcsynopsisinfo>#include <varargs.h>
-#include <mouteyh.h>
-#include <qlmppzj.h></funcsynopsisinfo>
- <funcprototype>
- <funcdef><type>float</type> <function>rand</function></funcdef>
- <void/>
- </funcprototype>
-
- <funcprototype>
- <funcdef>int <function>max</function></funcdef>
- <varargs/>
- </funcprototype>
-
- <funcprototype>
- <funcdef>int <function>idiv</function></funcdef>
- <paramdef><type>int</type> <parameter>n</parameter></paramdef>
- <paramdef><type>int</type> <parameter>m</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
-
- <para>Another.</para>
-
- <funcsynopsis>
- <funcprototype>
- <funcdef>void <function>qsort</function></funcdef>
- <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
- <paramdef>int <parameter>left</parameter></paramdef>
- <paramdef>int <parameter>right</parameter></paramdef>
- <paramdef>int (*<parameter>comp</parameter>)
- <funcparams>void *, void *</funcparams></paramdef>
- </funcprototype>
- </funcsynopsis>
-
- <funcsynopsis>
- <funcprototype>
- <funcdef>int <function>foo_frob_something</function></funcdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
- <paramdef><type>int</type> (* <parameter>parm4</parameter> )
- <funcparams>int a, int b, int c</funcparams>
- </paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
- </funcprototype>
-
- <funcprototype>
- <funcdef>int <function>foo_frob_something</function></funcdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
- <paramdef><type>int</type> (* <parameter>parm4</parameter> )
- <funcparams>int a, int b, int c</funcparams>
- </paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
-</refsynopsisdiv>
-
-<refsection><info><title>Description</title></info>
-
-<para>This is a minimal RefEntry.</para>
-
-<para>The following is a Variablelist with a title.
-<variablelist><info><title>My variablelist</title></info>
-
- <varlistentry>
- <term>varlistentry term 1</term>
- <listitem><para>some listitem text</para></listitem>
- </varlistentry>
- <varlistentry>
- <term>varlistentry term 2</term>
- <listitem><para>some more listitem text</para></listitem>
- </varlistentry>
-</variablelist>
-</para>
-<refsection><info><title>Subsection</title></info>
-
-<para>This is a minimal RefEntry.</para>
-
-<para>The following is a Variablelist with a title and a nested variablelist
- <glosslist>
-
- <glossentry>
- <glossterm>glossentry term 1</glossterm>
- <glossdef><para>some glossdef text</para></glossdef>
- </glossentry>
- <glossentry>
- <glossterm>glossentry term 2</glossterm>
- <glossdef>
- <variablelist>
- <varlistentry>
- <term>nested variablelist term 1</term>
- <listitem><para>some variablelist text</para></listitem>
- </varlistentry>
- <varlistentry>
- <term>nested variablelist term 2</term>
- <listitem><para>some more variablelist text</para></listitem>
- </varlistentry>
- </variablelist>
- </glossdef>
- </glossentry>
- </glosslist>
-</para>
-
-<refsection><info><title>Sub-subsection</title></info>
-
-<para>This is a minimal RefEntry.</para>
-</refsection>
-</refsection>
-</refsection>
-
-<refsection><info><title>More Description</title></info>
-
-<para>This is a not-so minimal RefEntry.</para>
-<screen>
-This is a screen [break here]
-that starts with a line of space. [break here]
-And it ends with a line of space.
-</screen>
-
-<para>normal paragraph here</para>
-
-<screen>This is a screen [break here]
-that does not start with a line of space. [break here]
-And does not end with a line of space.</screen>
-
-<para>This is a normal paragraph that contains a screen.
-<screen>This is a screen within a normal paragraph [break here]
-that does not start with a line of space. [break here]
-And does not end with a line of space but is followed
-by a line of space.</screen>
-</para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>This is a screen within a normal paragraph [break here]
-that does not start with a line of space. [break here]
-And does not end with a line of space and is not followed
-by a line of space.</screen></para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>
-This is a screen within a normal paragraph [break here]
-that starts with a line of space. [break here]
-And ends with a line of space but is not followed by a line of space.
-</screen></para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>
-This is a screen within a normal paragraph [break here]
-that starts with a line of space. [break here]
-And ends with a line of space and is followed by a line of space.
-</screen>
-</para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>
-
-This is a screen within a normal paragraph [break here]
-that starts with a 2 lines of space. [break here]
-And ends with 3 lines of space and is followed by a line of space.
-
-
-</screen>
-</para>
-
-<para>This paragraph contains an itemizedlist with a title. The title
-is “Mrignkwolmcng”.
-<orderedlist inheritnum="ignore" continuation="restarts"><info><title>Mrignkwolmcng</title></info>
-
- <listitem>
- <para>itemizedlist listitem 1</para>
- </listitem>
- <listitem>
- <para>itemizedlist listitem 2</para>
- </listitem>
-</orderedlist>
-
-This is some useless text that follows the “Mrignkwolmcng” orderedlist
-in the same para.</para>
-
-<para>The following is a Variablelist with a title and with a nested itemizedlist.
-<variablelist><info><title>My variablelist</title></info>
-
- <varlistentry>
- <term>varlistentry term 1</term>
- <listitem>
- <itemizedlist><info><title>nested itemizedlist</title></info>
-
- <listitem>
- <para>itemizedlist listitem 1</para>
- </listitem>
- <listitem>
- <para>itemizedlist listitem 2</para>
- </listitem>
- </itemizedlist>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>varlistentry term 2</term>
- <listitem><para>some more listitem text</para></listitem>
- </varlistentry>
-</variablelist>
-</para>
-
-<para>The following is a Variablelist with a title and with a
-nested Varlistentry that contains multiple Terms
-<variablelist><info><title>My nested-multi-term-per-varlistentry variablelist</title></info>
-
- <varlistentry>
- <term>Varlistentry term 1</term>
- <listitem>
- <variablelist>
- <varlistentry>
- <term> varlistentry term 1.1</term>
- <term>varlistentry term 1.2 </term>
- <term>varlistentry term 1.3</term>
- <listitem><para>All 'bout terms 1.1, 1.2, and 1.3</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>varlistentry term 2</term>
- <listitem><para>some more listitem text</para></listitem>
- </varlistentry>
-</variablelist>
-</para>
-
-<refsection><info><title>Subsection</title></info>
-
-<para>This is a minimal RefEntry.</para>
-</refsection>
-</refsection>
-
-<refsection><info><title>Even More Description</title></info>
-
-<para>This is an even less minimal RefEntry.</para>
-
-<para>This is a paragraph. It contains the following segmentedlist,
-titled “Gibbererish”, with several segtitle elements.
-<segmentedlist>
-
- <segtitle>Floober</segtitle>
- <segtitle>Buugler</segtitle>
- <segtitle>Sstangooo</segtitle>
- <segtitle>Borobinda</segtitle>
- <seglistitem>
- <seg>Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda</seg>
- <seg>Mondorotoluafu</seg>
- <seg>Ganafutralinga</seg>
- <seg>Patagularamakundra</seg>
- </seglistitem>
- <seglistitem>
- <seg>Cadraracondar</seg>
- <seg>Hentirotomaambu</seg>
- <seg>BdomentriolaiaBdomentriolaiaBdomentriolaia</seg>
- <seg>Candamalaturuanio</seg>
- </seglistitem>
-</segmentedlist>
-This is some text that follows the segementedlist within the same
-paragraph. The next part of this same paragraph is an
-<tag>important</tag> admonition.
-<important>
- <para>It is very important that you read this. That’s why it stands
- out the way that it does.</para>
-</important>
-</para>
-
-<para>This is a para with a footnote
- <footnote><para>Stuff here <programlisting>This is a program listing
-that's two lines long.</programlisting></para>
- and stuff after the
-footnote</footnote></para>
-</refsection>
-
-</refentry>
-</reference>
-</book>
+++ /dev/null
-<?xml version="1.0" encoding="utf-8"?>
-<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
- "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd">
-<book>
-<bookinfo>
-<title>Unit Test: refentry.007</title>
-<releaseinfo role="CVS">$Id: refentry.007.xml 7282 2007-08-23 09:27:01Z xmldoc $</releaseinfo>
-<author><firstname>Norman</firstname><surname>Walsh</surname>
- <affiliation><address><email>ndw@nwalsh.com</email></address></affiliation>
-</author>
-</bookinfo>
-<reference>
-<title>Reference</title>
-<refentry>
- <refentryinfo>
- <authorgroup>
- <author>
- <firstname>Norman</firstname><surname>Walsh</surname>
- <email>ndw@nwalsh.com</email>
- <personblurb>
- <para>Wrote the original version of this document.</para>
- </personblurb>
- </author>
- <editor>
- <contrib>Added a bunch of test cases.</contrib>
- <firstname>Michael(tm)</firstname><surname>Smith</surname>
- <email>smith@sideshowbarker.net</email>
- </editor>
- </authorgroup>
- <copyright>
- <year>2003</year>
- <holder>Norman Walsh</holder>
- </copyright>
- <copyright>
- <year>2006</year>
- <holder>Michael(tm) Smith</holder>
- </copyright>
- <legalnotice>
- <para>This file is a product of the DocBook Project.</para>
- </legalnotice>
- <legalnotice>
- <para>Share and share alike.</para>
- </legalnotice>
- </refentryinfo>
-<refnamediv>
-<refname>FirstName</refname>
-<refname>SecondName</refname>
-<refpurpose>Purpose for FirstName</refpurpose>
-</refnamediv>
-
-<refnamediv>
-<refname>ThirdName</refname>
-<refpurpose>Purpose for ThirdName</refpurpose>
-</refnamediv>
-
-<refsynopsisdiv>
- <?dbfunclist ?>
- <funcsynopsis>
- <!-- * Yes, friend, Funcsynopsis is a verbatim -->
- <funcsynopsisinfo
->#include <varargs.h>
-#include <mouteyh.h>
-#include <qlmppzj.h></funcsynopsisinfo>
- <funcprototype>
- <funcdef><type>float</type> <function>rand</function></funcdef>
- <void/>
- </funcprototype>
-
- <funcprototype>
- <funcdef>int <function>max</function></funcdef>
- <varargs/>
- </funcprototype>
-
- <funcprototype>
- <funcdef>int <function>idiv</function></funcdef>
- <paramdef><type>int</type> <parameter>n</parameter></paramdef>
- <paramdef><type>int</type> <parameter>m</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
-
- <para>Another.</para>
-
- <funcsynopsis>
- <funcprototype>
- <funcdef>void <function>qsort</function></funcdef>
- <paramdef>void *<parameter>dataptr</parameter>[]</paramdef>
- <paramdef>int <parameter>left</parameter></paramdef>
- <paramdef>int <parameter>right</parameter></paramdef>
- <paramdef>int (*<parameter>comp</parameter>)
- <funcparams>void *, void *</funcparams></paramdef>
- </funcprototype>
- </funcsynopsis>
-
- <funcsynopsis>
- <funcprototype>
- <funcdef>int <function>foo_frob_something</function></funcdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
- <paramdef><type>int</type> (* <parameter>parm4</parameter> )
- <funcparams>int a, int b, int c</funcparams>
- </paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
- </funcprototype>
-
- <funcprototype>
- <funcdef>int <function>foo_frob_something</function></funcdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm1</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm2</parameter></paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm3</parameter></paramdef>
- <paramdef><type>int</type> (* <parameter>parm4</parameter> )
- <funcparams>int a, int b, int c</funcparams>
- </paramdef>
- <paramdef>foo_sometype1 <parameter>foo_frob_parm5</parameter></paramdef>
- </funcprototype>
- </funcsynopsis>
-</refsynopsisdiv>
-
-<refsect1>
-<title>Description</title>
-<para>This is a minimal RefEntry.</para>
-
-<para>The following is a Variablelist with a title.
-<variablelist>
- <title>My variablelist</title>
- <varlistentry>
- <term>varlistentry term 1</term>
- <listitem><para>some listitem text</para></listitem>
- </varlistentry>
- <varlistentry>
- <term>varlistentry term 2</term>
- <listitem><para>some more listitem text</para></listitem>
- </varlistentry>
-</variablelist>
-</para>
-<refsect2>
-<title>Subsection</title>
-<para>This is a minimal RefEntry.</para>
-
-<para>The following is a Variablelist with a title and a nested variablelist
- <glosslist>
- <title>My glosslist</title>
- <glossentry>
- <glossterm>glossentry term 1</glossterm>
- <glossdef><para>some glossdef text</para></glossdef>
- </glossentry>
- <glossentry>
- <glossterm>glossentry term 2</glossterm>
- <glossdef>
- <variablelist>
- <varlistentry>
- <term>nested variablelist term 1</term>
- <listitem><para>some variablelist text</para></listitem>
- </varlistentry>
- <varlistentry>
- <term>nested variablelist term 2</term>
- <listitem><para>some more variablelist text</para></listitem>
- </varlistentry>
- </variablelist>
- </glossdef>
- </glossentry>
- </glosslist>
-</para>
-
-<refsect3>
-<title>Sub-subsection</title>
-<para>This is a minimal RefEntry.</para>
-</refsect3>
-</refsect2>
-</refsect1>
-
-<refsect1>
-<title>More Description</title>
-<para>This is a not-so minimal RefEntry.</para>
-<screen>
-This is a screen [break here]
-that starts with a line of space. [break here]
-And it ends with a line of space.
-</screen>
-
-<para>normal paragraph here</para>
-
-<screen>This is a screen [break here]
-that does not start with a line of space. [break here]
-And does not end with a line of space.</screen>
-
-<para>This is a normal paragraph that contains a screen.
-<screen>This is a screen within a normal paragraph [break here]
-that does not start with a line of space. [break here]
-And does not end with a line of space but is followed
-by a line of space.</screen>
-</para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>This is a screen within a normal paragraph [break here]
-that does not start with a line of space. [break here]
-And does not end with a line of space and is not followed
-by a line of space.</screen></para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>
-This is a screen within a normal paragraph [break here]
-that starts with a line of space. [break here]
-And ends with a line of space but is not followed by a line of space.
-</screen></para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>
-This is a screen within a normal paragraph [break here]
-that starts with a line of space. [break here]
-And ends with a line of space and is followed by a line of space.
-</screen>
-</para>
-
-<para>This is another normal paragraph that contains a screen.
-<screen>
-
-This is a screen within a normal paragraph [break here]
-that starts with a 2 lines of space. [break here]
-And ends with 3 lines of space and is followed by a line of space.
-
-
-</screen>
-</para>
-
-<para>This paragraph contains an itemizedlist with a title. The title
-is “Mrignkwolmcng”.
-<orderedlist>
- <title>Mrignkwolmcng</title>
- <listitem>
- <para>itemizedlist listitem 1</para>
- </listitem>
- <listitem>
- <para>itemizedlist listitem 2</para>
- </listitem>
-</orderedlist>
-
-This is some useless text that follows the “Mrignkwolmcng” orderedlist
-in the same para.</para>
-
-<para>The following is a Variablelist with a title and with a nested itemizedlist.
-<variablelist>
- <title>My variablelist</title>
- <varlistentry>
- <term>varlistentry term 1</term>
- <listitem>
- <itemizedlist>
- <title>nested itemizedlist</title>
- <listitem>
- <para>itemizedlist listitem 1</para>
- </listitem>
- <listitem>
- <para>itemizedlist listitem 2</para>
- </listitem>
- </itemizedlist>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>varlistentry term 2</term>
- <listitem><para>some more listitem text</para></listitem>
- </varlistentry>
-</variablelist>
-</para>
-
-<para>The following is a Variablelist with a title and with a
-nested Varlistentry that contains multiple Terms
-<variablelist>
- <title>My nested-multi-term-per-varlistentry variablelist</title>
- <varlistentry>
- <term>Varlistentry term 1</term>
- <listitem>
- <variablelist>
- <varlistentry>
- <term> varlistentry term 1.1</term>
- <term>varlistentry term 1.2 </term>
- <term>varlistentry term 1.3</term>
- <listitem><para>All 'bout terms 1.1, 1.2, and 1.3</para>
- </listitem>
- </varlistentry>
- </variablelist>
- </listitem>
- </varlistentry>
- <varlistentry>
- <term>varlistentry term 2</term>
- <listitem><para>some more listitem text</para></listitem>
- </varlistentry>
-</variablelist>
-</para>
-
-<refsect2>
-<title>Subsection</title>
-<para>This is a minimal RefEntry.</para>
-</refsect2>
-</refsect1>
-
-<refsect1>
-<title>Even More Description</title>
-<para>This is an even less minimal RefEntry.</para>
-
-<para>This is a paragraph. It contains the following segmentedlist,
-titled “Gibbererish”, with several segtitle elements.
-<segmentedlist>
- <title>Gibbererish</title>
- <segtitle>Floober</segtitle>
- <segtitle>Buugler</segtitle>
- <segtitle>Sstangooo</segtitle>
- <segtitle>Borobinda</segtitle>
- <seglistitem>
- <seg>Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda Bamalalaboonda</seg>
- <seg>Mondorotoluafu</seg>
- <seg>Ganafutralinga</seg>
- <seg>Patagularamakundra</seg>
- </seglistitem>
- <seglistitem>
- <seg>Cadraracondar</seg>
- <seg>Hentirotomaambu</seg>
- <seg>BdomentriolaiaBdomentriolaiaBdomentriolaia</seg>
- <seg>Candamalaturuanio</seg>
- </seglistitem>
-</segmentedlist>
-This is some text that follows the segementedlist within the same
-paragraph. The next part of this same paragraph is an
-<sgmltag>important</sgmltag> admonition.
-<important>
- <para>It is very important that you read this. That’s why it stands
- out the way that it does.</para>
-</important>
-</para>
-
-<para>This is a para with a footnote
- <footnote
- ><para>Stuff here <programlisting>This is a program listing
-that's two lines long.</programlisting></para>
- and stuff after the
-footnote</footnote></para>
-</refsect1>
-
-</refentry>
-</reference>
-</book>
# vim: number
# docbook-xsl-update - Update environment to latest docbook-xsl snapshot
-# $Id$
if [ -z $DOCBOOK_MIRROR ]; then
myhost=docbook.xml-doc.org:5873;
--- /dev/null
+<?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"
+ xmlns:xlink="http://www.w3.org/1999/xlink"
+ exclude-result-prefixes="exsl db"
+ version="1.0">
+
+<!--
+# ======================================================================
+# This file is part of DocBook V5.0CR5
+#
+# Copyright 2005 Norman Walsh, Sun Microsystems, Inc., and the
+# Organization for the Advancement of Structured Information
+# Standards (OASIS).
+#
+# Permission to use, copy, modify and distribute this stylesheet
+# and its accompanying documentation for any purpose and without fee
+# is hereby granted in perpetuity, provided that the above copyright
+# notice and this paragraph appear in all copies. The copyright
+# holders make no representation about the suitability of the schema
+# for any purpose. It is provided "as is" without expressed or implied
+# warranty.
+#
+# Please direct all questions, bug reports, or suggestions for changes
+# to the docbook@lists.oasis-open.org mailing list. For more
+# information, see http://www.oasis-open.org/docbook/.
+#
+# ======================================================================
+-->
+
+<xsl:param name="db5.version" select="'5.0'"/> <!-- DocBook version for the output 5.0 and 5.1 only current values -->
+<xsl:param name="db5.version.string" select="$db5.version"/> <!-- Set this if you want a local version number -->
+<xsl:param name="keep.numbered.sections" select="'0'"/> <!-- Set to 1 to keep numbered sections, default changes to recursive -->
+
+<xsl:variable name="version" select="'1.1'"/> <!-- version of this transform -->
+
+<xsl:output method="xml" encoding="utf-8" indent="no" omit-xml-declaration="yes"/>
+
+<xsl:preserve-space elements="*"/>
+<xsl:param name="rootid">
+ <xsl:choose>
+ <xsl:when test="/*/@id">
+ <xsl:value-of select="/*/@id"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>UNKNOWN</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:param>
+
+<xsl:param name="defaultDate" select="''"/>
+
+<xsl:template match="/">
+ <xsl:variable name="converted">
+ <xsl:apply-templates/>
+ </xsl:variable>
+ <xsl:comment>
+ <xsl:text> Converted by db4-upgrade version </xsl:text>
+ <xsl:value-of select="$version"/>
+ <xsl:text> </xsl:text>
+ </xsl:comment>
+ <xsl:text> </xsl:text>
+ <xsl:apply-templates select="exsl:node-set($converted)/*" mode="addNS"/>
+</xsl:template>
+
+<!-- Convert numbered sections into recursive sections, unless
+ $keep.numbered.sections is set to '1' -->
+<xsl:template match="sect1|sect2|sect3|sect4|sect5|section"
+ priority="200">
+ <xsl:choose>
+ <xsl:when test="$keep.numbered.sections = '1'">
+ <xsl:element name="{local-name(.)}">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </xsl:element>
+ </xsl:when>
+ <xsl:otherwise>
+ <section>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </section>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+<!-- This is the template for the elements (book, article, set) that allow
+ title, subtitle, and titleabbrev before (or in) info, but not after.
+ If title, subtitle, or titleabbrev exist both inside and outside the
+ info block, everything is moved inside. Otherwise things are left as is. -->
+<xsl:template match="bookinfo|articleinfo|artheader|setinfo" priority="200">
+ <xsl:variable name="title.inside.info">
+ <xsl:choose>
+ <xsl:when test="./title or ./subtitle or ./titleabbrev">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>0</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <xsl:variable name="title.outside.info">
+ <xsl:choose>
+ <xsl:when test="preceding-sibling::title or preceding-sibling::subtitle or preceding-sibling::titleabbrev">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>0</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+ <info>
+ <xsl:if test="$title.inside.info = '1' and $title.outside.info = '1'">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Found title|subtitle|titleabbrev both inside and outside </xsl:text><xsl:value-of select="local-name(.)"/>
+ <xsl:text>. Moving all inside info element.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:if test="preceding-sibling::title and not(./title)">
+ <xsl:apply-templates select="preceding-sibling::title" mode="copy"/>
+ </xsl:if>
+ <xsl:if test="preceding-sibling::subtitle and not(./subtitle)">
+ <xsl:apply-templates select="preceding-sibling::subtitle" mode="copy"/>
+ </xsl:if>
+ <xsl:if test="preceding-sibling::titleabbrev and not(./titleabbrev)">
+ <xsl:apply-templates select="preceding-sibling::titleabbrev" mode="copy"/>
+ </xsl:if>
+ </xsl:if>
+ <xsl:apply-templates/>
+ </info>
+</xsl:template>
+<!-- This is the template for the elements (all except book, article, set) that
+ allow title, subtitle, and titleabbrev after (or in) info, but not before.
+ If an info element exists, and there is a title, subtitle, or titleabbrev
+ after the info element, then the element is moved inside the info block.
+ However, if a duplicate element exists inside the info element, that element
+ is kept, and the one outside is dropped.-->
+<xsl:template match="appendixinfo|blockinfo|bibliographyinfo|glossaryinfo
+ |indexinfo|setindexinfo|chapterinfo
+ |sect1info|sect2info|sect3info|sect4info|sect5info|sectioninfo
+ |refsect1info|refsect2info|refsect3info|refsectioninfo
+ |referenceinfo|partinfo
+ |objectinfo|prefaceinfo|refsynopsisdivinfo
+ |screeninfo|sidebarinfo"
+ priority="200">
+ <xsl:variable name="title.inside.info">
+ <xsl:choose>
+ <xsl:when test="./title or ./subtitle or ./titleabbrev">
+ <xsl:text>1</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:text>0</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <!-- place title/subtitle/titleabbrev inside if any of them are already inside.
+ otherwise place them before. -->
+ <xsl:choose>
+ <xsl:when test="$title.inside.info = '0'">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Keeping one or more title elements before </xsl:text><xsl:value-of select="local-name(.)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <xsl:if test="following-sibling::title and not(./title)">
+ <xsl:apply-templates select="following-sibling::title" mode="copy"/>
+ </xsl:if>
+ <xsl:if test="following-sibling::subtitle and not(./subtitle)">
+ <xsl:apply-templates select="following-sibling::subtitle" mode="copy"/>
+ </xsl:if>
+ <xsl:if test="following-sibling::titleabbrev and not(./titleabbrev)">
+ <xsl:apply-templates select="following-sibling::titleabbrev" mode="copy"/>
+ </xsl:if>
+ <info>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </info>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Moving one or more title elements into </xsl:text><xsl:value-of select="local-name(.)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <info>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:if test="following-sibling::title and not(./title)">
+ <xsl:apply-templates select="following-sibling::title" mode="copy"/>
+ </xsl:if>
+ <xsl:if test="following-sibling::subtitle and not(./subtitle)">
+ <xsl:apply-templates select="following-sibling::subtitle" mode="copy"/>
+ </xsl:if>
+ <xsl:if test="following-sibling::titleabbrev and not(./titleabbrev)">
+ <xsl:apply-templates select="following-sibling::titleabbrev" mode="copy"/>
+ </xsl:if>
+ <xsl:apply-templates/>
+ </info>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="refentryinfo"
+ priority="200">
+ <info>
+ <xsl:call-template name="copy.attributes"/>
+
+ <xsl:if test="title">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding title from refentryinfo!</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:if test="titleabbrev">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding titleabbrev from refentryinfo!</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:if test="subtitle">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding subtitle from refentryinfo!</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:apply-templates/>
+ </info>
+</xsl:template>
+
+<xsl:template match="refmiscinfo"
+ priority="200">
+ <refmiscinfo>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'class'"/>
+ </xsl:call-template>
+ <xsl:if test="@class">
+ <xsl:choose>
+ <xsl:when test="@class = 'source'
+ or @class = 'version'
+ or @class = 'manual'
+ or @class = 'sectdesc'
+ or @class = 'software'">
+ <xsl:attribute name="class">
+ <xsl:value-of select="@class"/>
+ </xsl:attribute>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:attribute name="class">
+ <xsl:value-of select="'other'"/>
+ </xsl:attribute>
+ <xsl:attribute name="otherclass">
+ <xsl:value-of select="@class"/>
+ </xsl:attribute>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:if>
+ <xsl:apply-templates/>
+ </refmiscinfo>
+</xsl:template>
+
+<xsl:template match="corpauthor" priority="200">
+ <author>
+ <xsl:call-template name="copy.attributes"/>
+ <orgname>
+ <xsl:apply-templates/>
+ </orgname>
+ </author>
+</xsl:template>
+
+<xsl:template match="corpname" priority="200">
+ <orgname>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </orgname>
+</xsl:template>
+
+<xsl:template match="author[not(personname)]|editor[not(personname)]|othercredit[not(personname)]" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes"/>
+ <personname>
+ <xsl:apply-templates select="honorific|firstname|surname|othername|lineage"/>
+ </personname>
+ <xsl:apply-templates select="*[not(self::honorific|self::firstname|self::surname
+ |self::othername|self::lineage)]"/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="address|programlisting|screen|funcsynopsisinfo
+ |classsynopsisinfo" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'format'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<!-- Suppress attributes with default values (i.e., added implicitly by DTD) -->
+<xsl:template match="productname" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress.default" select="'class=trade'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="orderedlist" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress.default" select="'inheritnum=ignore continuation=restarts'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="literallayout" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'format'"/><!-- Dropped entirely in DB5 -->
+ <xsl:with-param name="suppress.default" select="'class=normal'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="equation" priority="200">
+ <xsl:choose>
+ <xsl:when test="not(title)">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param
+ name="message"
+ >Convert equation without title to informal equation.</xsl:with-param>
+ </xsl:call-template>
+ <informalequation>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </informalequation>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="imagedata|videodata|audiodata|textdata" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'srccredit'"/>
+ </xsl:call-template>
+ <xsl:if test="@srccredit">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Check conversion of srccredit </xsl:text>
+ <xsl:text>(othercredit="srccredit").</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <info>
+ <othercredit class="other" otherclass="srccredit">
+ <orgname>???</orgname>
+ <contrib>
+ <xsl:value-of select="@srccredit"/>
+ </contrib>
+ </othercredit>
+ </info>
+ </xsl:if>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="sgmltag" priority="200">
+ <tag>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:if test="@class = 'sgmlcomment'">
+ <xsl:attribute name="class">comment</xsl:attribute>
+ </xsl:if>
+ <xsl:apply-templates/>
+ </tag>
+</xsl:template>
+
+<xsl:template match="inlinegraphic[@format='linespecific']" priority="210">
+ <textobject>
+ <textdata>
+ <xsl:call-template name="copy.attributes"/>
+ </textdata>
+ </textobject>
+</xsl:template>
+
+<xsl:template match="inlinegraphic" priority="200">
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata>
+ <xsl:call-template name="copy.attributes"/>
+ </imagedata>
+ </imageobject>
+ </inlinemediaobject>
+</xsl:template>
+
+<xsl:template match="graphic[@format='linespecific']" priority="210">
+ <mediaobject>
+ <textobject>
+ <textdata>
+ <xsl:call-template name="copy.attributes"/>
+ </textdata>
+ </textobject>
+ </mediaobject>
+</xsl:template>
+
+<xsl:template match="graphic" priority="200">
+ <mediaobject>
+ <imageobject>
+ <imagedata>
+ <xsl:call-template name="copy.attributes"/>
+ </imagedata>
+ </imageobject>
+ </mediaobject>
+</xsl:template>
+
+<xsl:template match="pubsnumber" priority="200">
+ <biblioid class="pubsnumber">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </biblioid>
+</xsl:template>
+
+<xsl:template match="invpartnumber" priority="200">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting invpartnumber to biblioid otherclass="invpartnumber".</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <biblioid class="other" otherclass="invpartnumber">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </biblioid>
+</xsl:template>
+
+<xsl:template match="contractsponsor" priority="200">
+ <xsl:variable name="contractnum"
+ select="preceding-sibling::contractnum|following-sibling::contractnum"/>
+
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting contractsponsor to othercredit="contractsponsor".</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <othercredit class="other" otherclass="contractsponsor">
+ <orgname>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </orgname>
+ <xsl:for-each select="$contractnum">
+ <contrib role="contractnum">
+ <xsl:apply-templates select="node()"/>
+ </contrib>
+ </xsl:for-each>
+ </othercredit>
+</xsl:template>
+
+<xsl:template match="contractnum" priority="200">
+ <xsl:if test="not(preceding-sibling::contractsponsor
+ |following-sibling::contractsponsor)
+ and not(preceding-sibling::contractnum)">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting contractnum to othercredit="contractnum".</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <othercredit class="other" otherclass="contractnum">
+ <orgname>???</orgname>
+ <xsl:for-each select="self::contractnum
+ |preceding-sibling::contractnum
+ |following-sibling::contractnum">
+ <contrib>
+ <xsl:apply-templates select="node()"/>
+ </contrib>
+ </xsl:for-each>
+ </othercredit>
+ </xsl:if>
+</xsl:template>
+
+<xsl:template match="isbn|issn" priority="200">
+ <biblioid class="{local-name(.)}">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </biblioid>
+</xsl:template>
+
+<xsl:template match="biblioid[count(*) = 1
+ and ulink
+ and normalize-space(text()) = '']" priority="200">
+ <biblioid xlink:href="{ulink/@url}">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates select="ulink/node()"/>
+ </biblioid>
+</xsl:template>
+
+<xsl:template match="authorblurb" priority="200">
+ <personblurb>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </personblurb>
+</xsl:template>
+
+<xsl:template match="collabname" priority="200">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Check conversion of collabname </xsl:text>
+ <xsl:text>(orgname role="collabname").</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <orgname role="collabname">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </orgname>
+</xsl:template>
+
+<xsl:template match="modespec" priority="200">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding modespec (</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>).</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="mediaobjectco" priority="200">
+ <mediaobject>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </mediaobject>
+</xsl:template>
+
+<xsl:template match="remark">
+ <!-- get rid of any embedded markup if the version is 5.0. If it's > 5.0, leave markup in. -->
+ <remark>
+ <xsl:copy-of select="@*"/>
+ <xsl:choose>
+ <xsl:when test="$db5.version>5.0">
+ <xsl:apply-templates/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="."/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </remark>
+</xsl:template>
+
+<xsl:template match="biblioentry/title
+ |bibliomset/title
+ |biblioset/title
+ |bibliomixed/title" priority="400">
+ <citetitle>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </citetitle>
+</xsl:template>
+
+<xsl:template match="biblioentry/titleabbrev|biblioentry/subtitle
+ |bibliomset/titleabbrev|bibliomset/subtitle
+ |biblioset/titleabbrev|biblioset/subtitle
+ |bibliomixed/titleabbrev|bibliomixed/subtitle"
+ priority="400">
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="biblioentry/contrib
+ |bibliomset/contrib
+ |bibliomixed/contrib" priority="200">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Check conversion of contrib </xsl:text>
+ <xsl:text>(othercontrib="contrib").</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <othercredit class="other" otherclass="contrib">
+ <orgname>???</orgname>
+ <contrib>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </contrib>
+ </othercredit>
+</xsl:template>
+
+<xsl:template match="link" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="ulink" priority="200">
+ <xsl:choose>
+ <xsl:when test="node()">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting ulink to link.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <link xlink:href="{@url}">
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'url'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </link>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting ulink to uri.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <uri xlink:href="{@url}">
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'url'"/>
+ </xsl:call-template>
+ <xsl:value-of select="@url"/>
+ </uri>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="olink" priority="200">
+ <xsl:if test="@linkmode">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding linkmode on olink.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:if>
+
+ <xsl:choose>
+ <xsl:when test="@targetdocent">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting olink targetdocent to targetdoc.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <olink targetdoc="{unparsed-entity-uri(@targetdocent)}">
+ <xsl:for-each select="@*">
+ <xsl:if test="name(.) != 'targetdocent'
+ and name(.) != 'linkmode'">
+ <xsl:copy/>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:apply-templates/>
+ </olink>
+ </xsl:when>
+ <xsl:otherwise>
+ <olink>
+ <xsl:for-each select="@*">
+ <xsl:if test="name(.) != 'linkmode'">
+ <xsl:copy/>
+ </xsl:if>
+ </xsl:for-each>
+ <xsl:apply-templates/>
+ </olink>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="biblioentry/firstname
+ |biblioentry/surname
+ |biblioentry/othername
+ |biblioentry/lineage
+ |biblioentry/honorific
+ |bibliomset/firstname
+ |bibliomset/surname
+ |bibliomset/othername
+ |bibliomset/lineage
+ |bibliomset/honorific" priority="200">
+ <xsl:choose>
+ <xsl:when test="preceding-sibling::firstname
+ |preceding-sibling::surname
+ |preceding-sibling::othername
+ |preceding-sibling::lineage
+ |preceding-sibling::honorific">
+ <!-- nop -->
+ </xsl:when>
+ <xsl:otherwise>
+ <personname>
+ <xsl:apply-templates select="../firstname
+ |../surname
+ |../othername
+ |../lineage
+ |../honorific" mode="copy"/>
+ </personname>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="areaset" priority="200">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'coords'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="date|pubdate" priority="200">
+ <xsl:variable name="rp1" select="substring-before(normalize-space(.), ' ')"/>
+ <xsl:variable name="rp2"
+ select="substring-before(substring-after(normalize-space(.), ' '),
+ ' ')"/>
+ <xsl:variable name="rp3"
+ select="substring-after(substring-after(normalize-space(.), ' '), ' ')"/>
+
+ <xsl:variable name="p1">
+ <xsl:choose>
+ <xsl:when test="contains($rp1, ',')">
+ <xsl:value-of select="substring-before($rp1, ',')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$rp1"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="p2">
+ <xsl:choose>
+ <xsl:when test="contains($rp2, ',')">
+ <xsl:value-of select="substring-before($rp2, ',')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$rp2"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="p3">
+ <xsl:choose>
+ <xsl:when test="contains($rp3, ',')">
+ <xsl:value-of select="substring-before($rp3, ',')"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="$rp3"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:variable name="date">
+ <xsl:choose>
+ <xsl:when test="string($p1+1) != 'NaN' and string($p3+1) != 'NaN'">
+ <xsl:choose>
+ <xsl:when test="$p2 = 'Jan' or $p2 = 'January'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-01-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Feb' or $p2 = 'February'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-02-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Mar' or $p2 = 'March'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-03-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Apr' or $p2 = 'April'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-04-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'May'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-05-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Jun' or $p2 = 'June'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-06-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Jul' or $p2 = 'July'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-07-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Aug' or $p2 = 'August'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-08-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Sep' or $p2 = 'September'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-09-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Oct' or $p2 = 'October'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-10-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Nov' or $p2 = 'November'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-11-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p2 = 'Dec' or $p2 = 'December'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-12-</xsl:text>
+ <xsl:number value="$p1" format="01"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="string($p2+1) != 'NaN' and string($p3+1) != 'NaN'">
+ <xsl:choose>
+ <xsl:when test="$p1 = 'Jan' or $p1 = 'January'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-01-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Feb' or $p1 = 'February'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-02-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Mar' or $p1 = 'March'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-03-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Apr' or $p1 = 'April'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-04-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'May'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-05-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Jun' or $p1 = 'June'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-06-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Jul' or $p1 = 'July'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-07-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Aug' or $p1 = 'August'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-08-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Sep' or $p1 = 'September'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-09-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Oct' or $p1 = 'October'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-10-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Nov' or $p1 = 'November'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-11-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:when test="$p1 = 'Dec' or $p1 = 'December'">
+ <xsl:number value="$p3" format="0001"/>
+ <xsl:text>-12-</xsl:text>
+ <xsl:number value="$p2" format="01"/>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="normalize-space($date) != normalize-space(.)">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converted </xsl:text>
+ <xsl:value-of select="normalize-space(.)"/>
+ <xsl:text> into </xsl:text>
+ <xsl:value-of select="$date"/>
+ <xsl:text> for </xsl:text>
+ <xsl:value-of select="name(.)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:value-of select="$date"/>
+ </xsl:copy>
+ </xsl:when>
+
+ <xsl:when test="$defaultDate != ''">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Unparseable date: </xsl:text>
+ <xsl:value-of select="normalize-space(.)"/>
+ <xsl:text> in </xsl:text>
+ <xsl:value-of select="name(.)"/>
+ <xsl:text> (Using default: </xsl:text>
+ <xsl:value-of select="$defaultDate"/>
+ <xsl:text>)</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:copy-of select="$defaultDate"/>
+ <xsl:comment>
+ <xsl:value-of select="."/>
+ </xsl:comment>
+ </xsl:copy>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <!-- these don't really matter anymore
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Unparseable date: </xsl:text>
+ <xsl:value-of select="normalize-space(.)"/>
+ <xsl:text> in </xsl:text>
+ <xsl:value-of select="name(.)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ -->
+ <xsl:copy>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="title|subtitle|titleabbrev" priority="300">
+ <xsl:variable name="local.name" select="local-name(.)"/>
+ <xsl:variable name="parent.name" select="local-name(..)"/>
+
+ <!-- First three tests drop element if parent ZZZ already has
+ ZZZinfo/title (or subtitle, or titleabbrev). -->
+ <xsl:choose>
+ <xsl:when test="../*[local-name(.) = concat($parent.name, 'info')]/*[local-name(.) = $local.name]">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Check </xsl:text>
+ <xsl:value-of select="$parent.name"/>
+ <xsl:text> title.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <!-- Before 4.0, <articleinfo> was known as <artheader> -->
+ <xsl:when test="$parent.name = 'article' and ../artheader/*[local-name(.) = $local.name]">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Check </xsl:text>
+ <xsl:value-of select="$parent.name"/>
+ <xsl:text> title.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="../blockinfo/*[local-name(.) = $local.name]">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Check </xsl:text>
+ <xsl:value-of select="$parent.name"/>
+ <xsl:text> title.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <!-- always drop title, subtitle, and titleabbrev from refentryinfo -->
+ <xsl:when test="$parent.name = 'refentryinfo'">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Removing title in refentryinfo.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <!-- Also drop title, subtitle, and titleabbrev when they appear after info.
+ The title is picked up and moved either into or before the info element
+ in the templates that handle info elements. -->
+ <xsl:when test="preceding-sibling::*[local-name(.) = concat($parent.name, 'info')]">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Removing </xsl:text><xsl:value-of select="$local.name"/>
+ <xsl:text> after </xsl:text><xsl:value-of select="$parent.name"/><xsl:text>info. Moved before or inside info.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <!-- this covers block elements that use blockinfo-->
+ <xsl:when test="preceding-sibling::blockinfo">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Removing </xsl:text><xsl:value-of select="$local.name"/>
+ <xsl:text> after blockinfo. Moved before or inside info.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <!-- The next clause removes title, subtitle, or titleabbrev if it was
+ moved inside the info block. Only happens when one or more of these
+ elements occurs both inside and outside the info element. -->
+ <xsl:when test="following-sibling::bookinfo[title|subtitle|titleabbrev] or
+ following-sibling::articleinfo[title|subtitle|titleabbrev] or
+ following-sibling::artheader[title|subtitle|titleabbrev] or
+ following-sibling::setinfo[title|subtitle|titleabbrev]">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Removing </xsl:text><xsl:value-of select="$local.name"/>
+ <xsl:text>. Has been moved inside info.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<!-- Allow abstract inside valid biblio* elements, and inside info elements, otherwise drop -->
+<xsl:template match="abstract" priority="300">
+ <xsl:choose>
+ <xsl:when test="not(contains(name(parent::*),'info'))
+ and not(parent::biblioentry) and not(parent::bibliomixed)
+ and not(parent::bibliomset) and not(parent::biblioset)">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>CHECK abstract: removed from output (invalid location in 5.0).</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:apply-templates select="." mode="copy"/>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="indexterm">
+ <!-- don't copy the defaulted significance='normal' attribute -->
+ <indexterm>
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress">
+ <xsl:if test="@significance = 'normal'">significance</xsl:if>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </indexterm>
+</xsl:template>
+
+<xsl:template match="ackno" priority="200">
+ <acknowledgements>
+ <xsl:copy-of select="@*"/>
+ <para>
+ <xsl:apply-templates/>
+ </para>
+ </acknowledgements>
+</xsl:template>
+
+<xsl:template match="lot|lotentry|tocback|tocchap|tocfront|toclevel1|
+ toclevel2|toclevel3|toclevel4|toclevel5|tocpart" priority="200">
+ <tocdiv>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates/>
+ </tocdiv>
+</xsl:template>
+
+<xsl:template match="action" priority="200">
+ <phrase remap="action">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </phrase>
+</xsl:template>
+
+<xsl:template match="beginpage" priority="200">
+ <xsl:comment> beginpage pagenum=<xsl:value-of select="@pagenum"/> </xsl:comment>
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Replacing beginpage with comment</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+</xsl:template>
+
+<xsl:template match="structname|structfield" priority="200">
+ <varname remap="{local-name(.)}">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </varname>
+</xsl:template>
+
+<!-- ====================================================================== -->
+<!-- glossterm and term have broader content models in 4.x than 5.0.
+ Warn when an unsupported element is found under glossterm.
+ Because the synopsis elements can contain things that phrase cannot,
+ leave them as is and warn.
+ For other elements, change them into phrase recursively and lose attributes.
+-->
+<xsl:template match="glossterm|term">
+ <xsl:element name="{local-name(.)}">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates mode="clean-terms"/>
+ </xsl:element>
+</xsl:template>
+
+<!-- Any other elements inside term or glossterm which doesn't have a
+ template rule are copied
+-->
+<xsl:template match="*" mode="clean-terms">
+ <xsl:apply-templates select="." mode="copy"/>
+</xsl:template>
+
+
+<!-- The synopsis elements have child elements that don't work inside phrase, plus
+ they have attributes that shouldn't be lost. So, leave as is, but warn. -->
+<xsl:template match="classsynopsis|cmdsynopsis|constructorsynopsis
+ |destructorsynopsis|fieldsynopsis|methodsynopsis|synopsis" mode="clean-terms">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>CHECK OUTPUT: Found </xsl:text><xsl:value-of select="local-name(.)"/>
+ <xsl:text> inside </xsl:text><xsl:value-of select="local-name(..)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:element name="{local-name(.)}">
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </xsl:element>
+</xsl:template>
+
+<!-- The following elements probably can be safely turned into phrase recursively -->
+<xsl:template match="authorinitials|corpcredit|interface|medialabel|othercredit|revhistory" mode="clean-terms">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Replacing </xsl:text><xsl:value-of select="local-name(.)"/>
+ <xsl:text> inside </xsl:text><xsl:value-of select="local-name(..)"/>
+ <xsl:text> with phrase.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <phrase remap="{local-name(.)}">
+ <!-- Don't copy attributes -->
+ <xsl:apply-templates mode="make-phrase"/>
+ </phrase>
+</xsl:template>
+
+<!-- affiliation can appear in a much smaller number of elements in 5.0. But, it contains
+ elements that cannot appear in a phrase. So, replace all child elements, recursively,
+ with <phrase remap="element name"... Don't keep attributes, which won't work on phrase. -->
+
+<xsl:template match="affiliation[not(parent::author) and not(parent::collab) and not(parent::editor) and not(parent::org) and not(parent::othercredit) and not(parent::person)]">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>CHECK OUTPUT: Converting </xsl:text><xsl:value-of select="local-name(.)"/>
+ <xsl:text> to phrase in </xsl:text><xsl:value-of select="local-name(..)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <phrase remap="{local-name(.)}">
+ <!-- Don't copy attributes -->
+ <xsl:apply-templates mode="make-phrase"/>
+ </phrase>
+</xsl:template>
+
+<!-- This template recursively changes an element with remap="name of element".
+ Does this recursively through children. -->
+<xsl:template match="*" mode="make-phrase">
+ <phrase remap="{local-name(.)}">
+ <!-- Don't copy attributes -->
+ <xsl:apply-templates mode="make-phrase"/>
+ </phrase>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<!-- 6 Feb 2008, ndw changed mode=copy so that it only copies the first level,
+ then it switches back to "normal" mode so that other rewriting templates
+ catch embedded fixes -->
+
+<!--
+<xsl:template match="ulink" priority="200" mode="copy">
+ <xsl:choose>
+ <xsl:when test="node()">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting ulink to phrase.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <phrase xlink:href="{@url}">
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'url'"/>
+ </xsl:call-template>
+ <xsl:apply-templates/>
+ </phrase>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting ulink to uri.</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+
+ <uri xlink:href="{@url}">
+ <xsl:call-template name="copy.attributes">
+ <xsl:with-param name="suppress" select="'url'"/>
+ </xsl:call-template>
+ <xsl:value-of select="@url"/>
+ </uri>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="sgmltag" priority="200" mode="copy">
+ <tag>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </tag>
+</xsl:template>
+-->
+
+<xsl:template match="*" mode="copy">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<!--
+<xsl:template match="comment()|processing-instruction()|text()" mode="copy">
+ <xsl:copy/>
+</xsl:template>
+-->
+
+<!-- ====================================================================== -->
+
+<xsl:template match="*">
+ <xsl:copy>
+ <xsl:call-template name="copy.attributes"/>
+ <xsl:apply-templates/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="comment()|processing-instruction()|text()">
+ <xsl:copy/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="copy.attributes">
+ <xsl:param name="src" select="."/>
+ <xsl:param name="suppress" select="''"/>
+ <xsl:param name="suppress.default" select="''"/>
+
+ <xsl:for-each select="$src/@*">
+ <xsl:variable name="suppressed.value">
+ <xsl:choose>
+ <xsl:when test="not(contains($suppress.default, concat(local-name(.),'=')))">
+ <xsl:text>this-value-never-matches</xsl:text>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:value-of select="substring-before(substring-after(concat($suppress.default,' '), concat(local-name(.),'=')),' ')"/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:variable>
+
+ <xsl:choose>
+ <xsl:when test="local-name(.) = 'moreinfo'">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding moreinfo on </xsl:text>
+ <xsl:value-of select="local-name($src)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'lang'">
+ <xsl:attribute name="xml:lang">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'id'">
+ <xsl:attribute name="xml:id">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:when>
+ <xsl:when test="$suppress = local-name(.)"/>
+ <xsl:when test=". = $suppressed.value"/>
+ <xsl:when test="local-name(.) = 'float'">
+ <xsl:choose>
+ <xsl:when test=". = '1'">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding float on </xsl:text>
+ <xsl:value-of select="local-name($src)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:if test="not($src/@floatstyle)">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Adding floatstyle='normal' on </xsl:text>
+ <xsl:value-of select="local-name($src)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:attribute name="floatstyle">
+ <xsl:text>normal</xsl:text>
+ </xsl:attribute>
+ </xsl:if>
+ </xsl:when>
+ <xsl:when test=". = '0'">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding float on </xsl:text>
+ <xsl:value-of select="local-name($src)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Discarding float on </xsl:text>
+ <xsl:value-of select="local-name($src)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:if test="not($src/@floatstyle)">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Adding floatstyle='</xsl:text>
+ <xsl:value-of select="."/>
+ <xsl:text>' on </xsl:text>
+ <xsl:value-of select="local-name($src)"/>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:attribute name="floatstyle">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:if>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:when>
+ <xsl:when test="local-name(.) = 'entityref'">
+ <xsl:attribute name="fileref">
+ <xsl:value-of select="unparsed-entity-uri(@entityref)"/>
+ </xsl:attribute>
+ </xsl:when>
+
+ <xsl:when test="local-name($src) = 'simplemsgentry'
+ and local-name(.) = 'audience'">
+ <xsl:attribute name="msgaud">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:when>
+ <xsl:when test="local-name($src) = 'simplemsgentry'
+ and local-name(.) = 'origin'">
+ <xsl:attribute name="msgorig">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:when>
+ <xsl:when test="local-name($src) = 'simplemsgentry'
+ and local-name(.) = 'level'">
+ <xsl:attribute name="msglevel">
+ <xsl:value-of select="."/>
+ </xsl:attribute>
+ </xsl:when>
+
+ <!-- * for upgrading XSL litprog params documentation -->
+ <xsl:when test="local-name($src) = 'refmiscinfo'
+ and local-name(.) = 'role'
+ and . = 'type'
+ ">
+ <xsl:call-template name="emit-message">
+ <xsl:with-param name="message">
+ <xsl:text>Converting refmiscinfo@role=type to </xsl:text>
+ <xsl:text>@class=other,otherclass=type</xsl:text>
+ </xsl:with-param>
+ </xsl:call-template>
+ <xsl:attribute name="class">other</xsl:attribute>
+ <xsl:attribute name="otherclass">type</xsl:attribute>
+ </xsl:when>
+
+ <xsl:otherwise>
+ <xsl:copy/>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:for-each>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template match="*" mode="addNS">
+ <xsl:choose>
+ <xsl:when test="namespace-uri(.) = ''">
+ <xsl:element name="{local-name(.)}"
+ namespace="http://docbook.org/ns/docbook">
+ <xsl:if test="not(ancestor::*[namespace-uri(.)=''])">
+ <xsl:attribute name="version"><xsl:value-of select="$db5.version.string"/></xsl:attribute>
+ </xsl:if>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates mode="addNS"/>
+ </xsl:element>
+ </xsl:when>
+ <xsl:otherwise>
+ <xsl:copy>
+ <xsl:if test="namespace-uri(.) = 'http://docbook.org/ns/docbook' and
+ not(ancestor::*[namespace-uri(.)='http://docbook.org/ns/docbook'])">
+ <xsl:attribute name="version"><xsl:value-of select="$db5.version.string"/></xsl:attribute>
+ </xsl:if>
+ <xsl:copy-of select="@*"/>
+ <xsl:apply-templates mode="addNS"/>
+ </xsl:copy>
+ </xsl:otherwise>
+ </xsl:choose>
+</xsl:template>
+
+<xsl:template match="comment()|processing-instruction()|text()" mode="addNS">
+ <xsl:copy/>
+</xsl:template>
+
+<!-- ====================================================================== -->
+
+<xsl:template name="emit-message">
+ <xsl:param name="message"/>
+ <xsl:message>
+ <xsl:value-of select="$message"/>
+ <xsl:text> (</xsl:text>
+ <xsl:value-of select="$rootid"/>
+ <xsl:text>)</xsl:text>
+ </xsl:message>
+</xsl:template>
+
+</xsl:stylesheet>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output method="text" indent="no"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output indent="yes"/>
<xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output indent="yes"/>
<xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output indent="yes"/>
<xsl:namespace-alias stylesheet-prefix="xslt" result-prefix="xsl"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:strip-space elements="xsl:stylesheet"/>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
# Configuration\r
-DOCBOOK_DIST := ../$(pwd)\r
-\r
-DOCBOOK_EXTENSIONS_DIR = $(DOCBOOK_DIST)/extensions\r
-\r
-INPUT_XML = docsrc/readme.xml\r
-USER_IMAGES_PARENT_DIR=docsrc\r
-OUTPUT_DIR = docs\r
-INDEXER_EXCLUDED_FILES = ix01.html\r
-\r
-INDEXER_JAR := $(DOCBOOK_EXTENSIONS_DIR)/webhelpindexer.jar\r
-TAGSOUP_JAR := $(DOCBOOK_EXTENSIONS_DIR)/tagsoup-1.2.1.jar\r
-LUCENE_ANALYZER_JAR := $(DOCBOOK_EXTENSIONS_DIR)/lucene-analyzers-3.0.0.jar\r
-LUCENE_CORE_JAR := $(DOCBOOK_EXTENSIONS_DIR)/lucene-core-3.0.0.jar\r
+INDEXER_JAR := ../extensions/webhelpindexer.jar\r
+TAGSOUP_JAR := ../extensions/tagsoup-1.2.1.jar\r
+LUCENE_ANALYZER_JAR := ../extensions/lucene-analyzers-3.0.0.jar\r
+LUCENE_CORE_JAR := ../extensions/lucene-core-3.0.0.jar\r
\r
classpath := $(INDEXER_JAR):$(TAGSOUP_JAR):$(LUCENE_ANALYZER_JAR):$(LUCENE_CORE_JAR)\r
\r
all: webhelp\r
\r
-webhelp: $(INPUT_XML) copyfiles chunk index\r
-\r
-copyfiles:\r
- -rm -rf $(OUTPUT_DIR)\r
- mkdir -p $(OUTPUT_DIR)\r
- cp -r template/common ${OUTPUT_DIR}\r
- test ! -d $(USER_IMAGES_PARENT_DIR)/images/ || cp -r $(USER_IMAGES_PARENT_DIR)/images ${OUTPUT_DIR}/images\r
- cp template/favicon.ico ${OUTPUT_DIR}/\r
+webhelp: docs/index.html\r
\r
-chunk:\r
+docs/index.html: docsrc/readme.xml\r
+ -rm -rf docs\r
+ mkdir -p docs\r
+ cp -r template/common docs/\r
+ test ! -d docsrc/images/ || cp -r docsrc/images docs/images\r
+ cp template/favicon.ico docs/\r
xsltproc --xinclude --output xincluded-profiled.xml \\r
- --stringparam profile.os "linux" \\r
- ../profiling/profile.xsl \\r
- ${INPUT_XML}\r
-\r
- xsltproc xsl/webhelp.xsl xincluded-profiled.xml \r
-\r
+ --stringparam profile.os "linux" \\r
+ ../profiling/profile.xsl \\r
+ $<\r
+ xsltproc xsl/webhelp.xsl xincluded-profiled.xml\r
rm xincluded-profiled.xml\r
-index:\r
java \\r
- -DhtmlDir=$(OUTPUT_DIR) \\r
- -DindexerLanguage=en \\r
- -DhtmlExtension=html \\r
- -DdoStem=true \\r
- -DindexerExcludedFiles=$(INDEXER_EXCLUDED_FILES) \\r
- -Dorg.xml.sax.driver=org.ccil.cowan.tagsoup.Parser \\r
- -Djavax.xml.parsers.SAXParserFactory=org.ccil.cowan.tagsoup.jaxp.SAXFactoryImpl \\r
- -classpath $(classpath) \\r
- com.nexwave.nquindexer.IndexerMain\r
-\r
- cp -r template/search/* ${OUTPUT_DIR}/search\r
+ -DhtmlDir=docs \\r
+ -DindexerLanguage=en \\r
+ -DhtmlExtension=html \\r
+ -DdoStem=true \\r
+ -DindexerExcludedFiles=ix01.html \\r
+ -Dorg.xml.sax.driver=org.ccil.cowan.tagsoup.Parser \\r
+ -Djavax.xml.parsers.SAXParserFactory=org.ccil.cowan.tagsoup.jaxp.SAXFactoryImpl \\r
+ -classpath $(classpath) \\r
+ com.nexwave.nquindexer.IndexerMain\r
+ cp -r template/search/* docs/search\r
\r
clean:\r
$(RM) -r docs/*\r
xmlns:xlink="http://www.w3.org/1999/xlink">
<info>
<title>WebHelp Parameter Reference</title>
- <releaseinfo role="meta"> $Id$ </releaseinfo>
+ <releaseinfo role="meta"></releaseinfo>
<authorgroup>
<author>
<personname>
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
- * Revision: $Id: jquery.treeview.js 4684 2008-02-07 19:08:06Z joern.zaefferer $
- * kasunbg: changed the cookieid name
*
- */;(function($){$.extend($.fn,{swapClass:function(c1,c2){var c1Elements=this.filter('.'+c1);this.filter('.'+c2).removeClass(c2).addClass(c1);c1Elements.removeClass(c1).addClass(c2);return this;},replaceClass:function(c1,c2){return this.filter('.'+c1).removeClass(c1).addClass(c2).end();},hoverClass:function(className){className=className||"hover";return this.hover(function(){$(this).addClass(className);},function(){$(this).removeClass(className);});},heightToggle:function(animated,callback){animated?this.animate({height:"toggle"},animated,callback):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();if(callback)callback.apply(this,arguments);});},heightHide:function(animated,callback){if(animated){this.animate({height:"hide"},animated,callback);}else{this.hide();if(callback)this.each(callback);}},prepareBranches:function(settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this.filter((settings.collapsed?"":"."+CLASSES.closed)+":not(."+CLASSES.open+")").find(">ul").hide();}return this.filter(":has(>ul)");},applyClasses:function(settings,toggler){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event){toggler.apply($(this).next());}).add($("a",this)).hoverClass();if(!settings.prerendered){this.filter(":has(>ul:hidden)").addClass(CLASSES.expandable).replaceClass(CLASSES.last,CLASSES.lastExpandable);this.not(":has(>ul:hidden)").addClass(CLASSES.collapsable).replaceClass(CLASSES.last,CLASSES.lastCollapsable);this.prepend("<div class=\""+CLASSES.hitarea+"\"/>").find("div."+CLASSES.hitarea).each(function(){var classes="";$.each($(this).parent().attr("class").split(" "),function(){classes+=this+"-hitarea ";});$(this).addClass(classes);});}this.find("div."+CLASSES.hitarea).click(toggler);},treeview:function(settings){if(typeof(window.treeCookieId) === 'undefined' || window.treeCookieId === ""){treeCookieId = "treeview";} settings=$.extend({cookieId: treeCookieId},settings);if(settings.add){return this.trigger("add",[settings.add]);}if(settings.toggle){var callback=settings.toggle;settings.toggle=function(){return callback.apply($(this).parent()[0],arguments);};}function treeController(tree,control){function handler(filter){return function(){toggler.apply($("div."+CLASSES.hitarea,tree).filter(function(){return filter?$(this).parent("."+filter).length:true;}));return false;};}$("a:eq(0)",control).click(handler(CLASSES.collapsable));$("a:eq(1)",control).click(handler(CLASSES.expandable));$("a:eq(2)",control).click(handler());}function toggler(){$(this).parent().find(">.hitarea").swapClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).swapClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().swapClass(CLASSES.collapsable,CLASSES.expandable).swapClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightToggle(settings.animated,settings.toggle);if(settings.unique){$(this).parent().siblings().find(">.hitarea").replaceClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).replaceClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().replaceClass(CLASSES.collapsable,CLASSES.expandable).replaceClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightHide(settings.animated,settings.toggle);}}function serialize(){function binary(arg){return arg?1:0;}var data=[];branches.each(function(i,e){data[i]=$(e).is(":has(>ul:visible)")?1:0;});$.cookie(settings.cookieId,data.join(""));}function deserialize(){var stored=$.cookie(settings.cookieId);if(stored){var data=stored.split("");branches.each(function(i,e){$(e).find(">ul")[parseInt(data[i])?"show":"hide"]();});}}this.addClass("treeview");var branches=this.find("li").prepareBranches(settings);switch(settings.persist){case"cookie":var toggleCallback=settings.toggle;settings.toggle=function(){serialize();if(toggleCallback){toggleCallback.apply(this,arguments);}};deserialize();break;case"location":var current=this.find("a").filter(function(){return this.href.toLowerCase()==location.href.toLowerCase();});if(current.length){current.addClass("selected").parents("ul, li").add(current.next()).show();}break;}branches.applyClasses(settings,toggler);if(settings.control){treeController(this,settings.control);$(settings.control).show();}return this.bind("add",function(event,branches){$(branches).prev().removeClass(CLASSES.last).removeClass(CLASSES.lastCollapsable).removeClass(CLASSES.lastExpandable).find(">.hitarea").removeClass(CLASSES.lastCollapsableHitarea).removeClass(CLASSES.lastExpandableHitarea);$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings,toggler);});}});var CLASSES=$.fn.treeview.classes={open:"open",closed:"closed",expandable:"expandable",expandableHitarea:"expandable-hitarea",lastExpandableHitarea:"lastExpandable-hitarea",collapsable:"collapsable",collapsableHitarea:"collapsable-hitarea",lastCollapsableHitarea:"lastCollapsable-hitarea",lastCollapsable:"lastCollapsable",lastExpandable:"lastExpandable",last:"last",hitarea:"hitarea"};$.fn.Treeview=$.fn.treeview;})(jQuery);
\ No newline at end of file
+ */;(function($){$.extend($.fn,{swapClass:function(c1,c2){var c1Elements=this.filter('.'+c1);this.filter('.'+c2).removeClass(c2).addClass(c1);c1Elements.removeClass(c1).addClass(c2);return this;},replaceClass:function(c1,c2){return this.filter('.'+c1).removeClass(c1).addClass(c2).end();},hoverClass:function(className){className=className||"hover";return this.hover(function(){$(this).addClass(className);},function(){$(this).removeClass(className);});},heightToggle:function(animated,callback){animated?this.animate({height:"toggle"},animated,callback):this.each(function(){jQuery(this)[jQuery(this).is(":hidden")?"show":"hide"]();if(callback)callback.apply(this,arguments);});},heightHide:function(animated,callback){if(animated){this.animate({height:"hide"},animated,callback);}else{this.hide();if(callback)this.each(callback);}},prepareBranches:function(settings){if(!settings.prerendered){this.filter(":last-child:not(ul)").addClass(CLASSES.last);this.filter((settings.collapsed?"":"."+CLASSES.closed)+":not(."+CLASSES.open+")").find(">ul").hide();}return this.filter(":has(>ul)");},applyClasses:function(settings,toggler){this.filter(":has(>ul):not(:has(>a))").find(">span").click(function(event){toggler.apply($(this).next());}).add($("a",this)).hoverClass();if(!settings.prerendered){this.filter(":has(>ul:hidden)").addClass(CLASSES.expandable).replaceClass(CLASSES.last,CLASSES.lastExpandable);this.not(":has(>ul:hidden)").addClass(CLASSES.collapsable).replaceClass(CLASSES.last,CLASSES.lastCollapsable);this.prepend("<div class=\""+CLASSES.hitarea+"\"/>").find("div."+CLASSES.hitarea).each(function(){var classes="";$.each($(this).parent().attr("class").split(" "),function(){classes+=this+"-hitarea ";});$(this).addClass(classes);});}this.find("div."+CLASSES.hitarea).click(toggler);},treeview:function(settings){if(typeof(window.treeCookieId) === 'undefined' || window.treeCookieId === ""){treeCookieId = "treeview";} settings=$.extend({cookieId: treeCookieId},settings);if(settings.add){return this.trigger("add",[settings.add]);}if(settings.toggle){var callback=settings.toggle;settings.toggle=function(){return callback.apply($(this).parent()[0],arguments);};}function treeController(tree,control){function handler(filter){return function(){toggler.apply($("div."+CLASSES.hitarea,tree).filter(function(){return filter?$(this).parent("."+filter).length:true;}));return false;};}$("a:eq(0)",control).click(handler(CLASSES.collapsable));$("a:eq(1)",control).click(handler(CLASSES.expandable));$("a:eq(2)",control).click(handler());}function toggler(){$(this).parent().find(">.hitarea").swapClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).swapClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().swapClass(CLASSES.collapsable,CLASSES.expandable).swapClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightToggle(settings.animated,settings.toggle);if(settings.unique){$(this).parent().siblings().find(">.hitarea").replaceClass(CLASSES.collapsableHitarea,CLASSES.expandableHitarea).replaceClass(CLASSES.lastCollapsableHitarea,CLASSES.lastExpandableHitarea).end().replaceClass(CLASSES.collapsable,CLASSES.expandable).replaceClass(CLASSES.lastCollapsable,CLASSES.lastExpandable).find(">ul").heightHide(settings.animated,settings.toggle);}}function serialize(){function binary(arg){return arg?1:0;}var data=[];branches.each(function(i,e){data[i]=$(e).is(":has(>ul:visible)")?1:0;});$.cookie(settings.cookieId,data.join(""));}function deserialize(){var stored=$.cookie(settings.cookieId);if(stored){var data=stored.split("");branches.each(function(i,e){$(e).find(">ul")[parseInt(data[i])?"show":"hide"]();});}}this.addClass("treeview");var branches=this.find("li").prepareBranches(settings);switch(settings.persist){case"cookie":var toggleCallback=settings.toggle;settings.toggle=function(){serialize();if(toggleCallback){toggleCallback.apply(this,arguments);}};deserialize();break;case"location":var current=this.find("a").filter(function(){return this.href.toLowerCase()==location.href.toLowerCase();});if(current.length){current.addClass("selected").parents("ul, li").add(current.next()).show();}break;}branches.applyClasses(settings,toggler);if(settings.control){treeController(this,settings.control);$(settings.control).show();}return this.bind("add",function(event,branches){$(branches).prev().removeClass(CLASSES.last).removeClass(CLASSES.lastCollapsable).removeClass(CLASSES.lastExpandable).find(">.hitarea").removeClass(CLASSES.lastCollapsableHitarea).removeClass(CLASSES.lastExpandableHitarea);$(branches).find("li").andSelf().prepareBranches(settings).applyClasses(settings,toggler);});}});var CLASSES=$.fn.treeview.classes={open:"open",closed:"closed",expandable:"expandable",expandableHitarea:"expandable-hitarea",lastExpandableHitarea:"lastExpandable-hitarea",collapsable:"collapsable",collapsableHitarea:"collapsable-hitarea",lastCollapsableHitarea:"lastCollapsable-hitarea",lastCollapsable:"lastCollapsable",lastExpandable:"lastExpandable",last:"last",hitarea:"hitarea"};$.fn.Treeview=$.fn.treeview;})(jQuery);
exclude-result-prefixes="exsl ng db">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part customization layer on top of the XSL DocBook
Stylesheet distribution that generates webhelp output.
exclude-result-prefixes="doc exsl set">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part customization layer on top of the XSL DocBook
Stylesheet distribution that generates webhelp output.
<info>
<title>Website Parameter Reference</title>
<releaseinfo role="meta">
-$Id$
</releaseinfo>
<author>
<personname>
<xsl:stylesheet exclude-result-prefixes="src" version="1.0">
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the DocBook XSL Stylesheets distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the WebSite distribution.
See ../README or http://nwalsh.com/website/ for copyright
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the WebSite distribution.
See ../README or http://nwalsh.com/website/ for copyright
version='1.0'>
<!-- ********************************************************************
- $Id$
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
include $(repo_dir)/buildtools/Makefile.incl
-all: xsl-files profile-docbook.xsl profile-chunk.xsl profile-onechunk.xsl
+profile_files:=$(patsubst %, profile-%.xsl, docbook chunk onechunk)
+upstream_xsl:=$(wildcard ../html/*.xsl)
+xsl_files:=$(patsubst ../html/%.xsl, %.xsl, $(upstream_xsl))
+xsl_files:=$(filter-out html2xhtml.xsl $(profile_files), $(xsl_files))
-remove-old:
- for f in *.xsl; do if [ ! -f ../html/$$f -a "$$f" != "html2xhtml.xsl" ]; then rm $$f; fi; done
- $(RM) docbook.css.xml
+all: $(xsl_files) $(profile_files)
-add-new:
- for f in ../html/*.xsl; do if [ ! -f `basename $$f` ]; then \
- echo $$f; \
- cp $$f .; \
- touch -t 197001010000 `basename $$f`; fi; done
- cp ../html/docbook.css.xml .
+clean:
+ $(RM) $(xsl_files) $(profile_files)
-# Oh, come on! It must be possible to do this in Make, but I can't figure out how (ndw)
+$(xsl_files): %.xsl: ../html/%.xsl
+ $(XSLT) $< html2xhtml.xsl $@
-xsl-files: remove-old add-new
- for f in *.xsl; do if [ ../html/$$f -nt $$f ]; then $(XSLT) ../html/$$f html2xhtml.xsl $$f; fi; done
-
-profile-docbook.xsl: docbook.xsl ../profiling/xsl2profile.xsl
- $(XSLT) $< ../profiling/xsl2profile.xsl $@
-
-profile-chunk.xsl: chunk.xsl ../profiling/xsl2profile.xsl
+$(profile_files): profile-%.xsl: %.xsl
$(XSLT) $< ../profiling/xsl2profile.xsl $@
-
-profile-onechunk.xsl: onechunk.xsl ../profiling/xsl2profile.xsl
- $(XSLT) $< ../profiling/xsl2profile.xsl $@
-
-clean: remove-old
- $(RM) profile-docbook.xsl profile-chunk.xsl profile-onechunk.xsl
- for f in ../html/*.xsl; do $(RM) `basename $$f`; done
<info>
<title>HTML Parameter Reference</title>
<releaseinfo role="meta">
-$Id: param.xweb 7583 2007-12-03 17:02:33Z mzjn $
</releaseinfo>
<author>
<personname>
version='1.0'>
<!-- ********************************************************************
- $Id: param.xweb 7583 2007-12-03 17:02:33Z mzjn $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
TARGETNS=http://www.w3.org/1999/xhtml
-all: xsl-files profile-docbook.xsl profile-chunk.xsl profile-onechunk.xsl
-
-remove-old:
- for f in *.xsl; do if [ ! -f ../html/$$f -a "$$f" != "html2xhtml.xsl" ]; then rm $$f; fi; done
- $(RM) docbook.css.xml
-
-add-new:
- for f in ../html/*.xsl; do if [ ! -f `basename $$f` ]; then \
- echo "copying $$f"; \
- cp $$f .; \
- touch -t 197001010000 `basename $$f`; fi; done
- cp ../html/docbook.css.xml .
-
-# Oh, come on! It must be possible to do this in Make, but I can't figure out how (ndw)
-
-xsl-files: remove-old add-new
- for f in *.xsl; do \
- if [ ../html/$$f -nt $$f ]; then \
- echo "transforming $$f"; \
- $(XSLT) ../html/$$f html2xhtml.xsl $$f; \
- fi; \
- done
-
- # Also Generate special docbook-no-doctype.xsl file
- $(XSLT) ../html/docbook.xsl html2xhtml.xsl docbook-no-doctype.xsl \
- include.output.doctype=0 ; \
-
-profile-docbook.xsl: docbook.xsl ../profiling/xsl2profile.xsl
- $(XSLT) $< ../profiling/xsl2profile.xsl $@
+profile_files:=$(patsubst %, profile-%.xsl, docbook chunk onechunk)
+upstream_xsl:=$(wildcard ../html/*.xsl)
+xsl_files:=$(patsubst ../html/%.xsl, %.xsl, $(upstream_xsl))
+xsl_files:=$(filter-out html2xhtml.xsl $(profile_files), $(xsl_files))
-profile-chunk.xsl: chunk.xsl ../profiling/xsl2profile.xsl
- $(XSLT) $< ../profiling/xsl2profile.xsl $@
+all: $(xsl_files) $(profile_files) docbook-no-doctype.xsl
+
+clean:
+ $(RM) $(xsl_files) $(profile_files)
-profile-onechunk.xsl: onechunk.xsl ../profiling/xsl2profile.xsl
+$(xsl_files): %.xsl: ../html/%.xsl
+ $(XSLT) $< html2xhtml.xsl $@
+
+$(profile_files): profile-%.xsl: %.xsl
$(XSLT) $< ../profiling/xsl2profile.xsl $@
-clean: remove-old
- $(RM) profile-docbook.xsl profile-chunk.xsl profile-onechunk.xsl
- for f in ../html/*.xsl; do $(RM) `basename $$f`; done
+docbook-no-doctype.xsl: ../html/docbook.xsl
+ $(XSLT) $< html2xhtml.xsl docbook-no-doctype.xsl include.output.doctype=0
+
exclude-result-prefixes="exsl"
version="1.0">
-<!-- $Id: chunk.xsl,v 1.1 2011-09-16 21:43:59 bobs Exp $ -->
-
<!-- This is the main driver stylesheet file. It imports or
includes all the components that it needs. -->
<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,v 1.1 2011-09-16 21:44:00 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
exclude-result-prefixes="exsl stbl xtbl lxslt ptbl"
version="1.0">
-<!-- $Id: docbook.xsl,v 1.2 2011-09-18 17:47:28 bobs Exp $ -->
<xsl:import href="xhtml-docbook.xsl"/>
<xsl:include href="html5-element-mods.xsl"/>
exclude-result-prefixes="exsl"
version="1.0">
-<!-- $Id: html5-chunk-mods.xsl,v 1.1 2011-09-16 21:44:00 bobs Exp $ -->
-
<!-- call HTML5 header and footer templates for navigation -->
<xsl:template name="chunk-element-content">
<xsl:param name="prev"/>
<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,v 1.1 2011-09-16 21:44:00 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<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,v 1.1 2011-09-16 21:44:00 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<!-- ********************************************************************
- $Id: profile-docbook.xsl,v 1.2 2011-09-18 17:47:28 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for
<xsl:output method="xml" encoding="UTF-8" indent="no"/>
<!-- ********************************************************************
- $Id: xhtml-profile-docbook.xsl,v 1.1 2011-09-16 21:44:00 bobs Exp $
- ********************************************************************
This file is part of the XSL DocBook Stylesheet distribution.
See ../README or http://docbook.sf.net/release/xsl/current/ for