diff options
Diffstat (limited to 'common')
97 files changed, 1055 insertions, 1169 deletions
diff --git a/common/af.xml b/common/af.xml index 209ca9c..63a5a41 100644 --- a/common/af.xml +++ b/common/af.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="af" english-language-name="Afrikaans"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="af" english-language-name="Afrikaans"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/am.xml b/common/am.xml index 2c3aef9..30c049a 100644 --- a/common/am.xml +++ b/common/am.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="am" english-language-name="Amharic"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="am" english-language-name="Amharic"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ar.xml b/common/ar.xml index 58cf1fb..744b9cc 100644 --- a/common/ar.xml +++ b/common/ar.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ar" english-language-name="Arabic"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ar" english-language-name="Arabic"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/as.xml b/common/as.xml index 7013bf4..b0af387 100644 --- a/common/as.xml +++ b/common/as.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="as" english-language-name="Assamese"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="as" english-language-name="Assamese"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ast.xml b/common/ast.xml index 9f11c91..b3f6ad4 100644 --- a/common/ast.xml +++ b/common/ast.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ast" english-language-name="Asturian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ast" english-language-name="Asturian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/autoidx-kimber.xsl b/common/autoidx-kimber.xsl index 45c785d..be1049a 100644 --- a/common/autoidx-kimber.xsl +++ b/common/autoidx-kimber.xsl @@ -8,16 +8,15 @@ <!ENTITY lang 'concat(/*/@lang, /*/@xml:lang)'> ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0" + xmlns:d="http://docbook.org/ns/docbook" + version="1.0" xmlns:k="java:com.isogen.saxoni18n.Saxoni18nService" - exclude-result-prefixes="k"> + exclude-result-prefixes="k d"> <!-- ******************************************************************** - $Id: autoidx-kimber.xsl 8729 2010-07-15 16:43:56Z bobstayton $ - ******************************************************************** This file is part of the DocBook XSL Stylesheet distribution. - See ../README or http://docbook.sf.net/ for copyright + See ../README or http://cdn.docbook.org/ for copyright copyright and other information. ******************************************************************** --> @@ -38,7 +37,7 @@ <!-- The following key used in the kimber indexing method. --> <xsl:key name="k-group" - match="indexterm" + match="d:indexterm" use="k:getIndexGroupKey(⟨, &primary;)"/> </xsl:stylesheet> diff --git a/common/autoidx-kosek.xsl b/common/autoidx-kosek.xsl index 3d755c4..9f8ae4f 100644 --- a/common/autoidx-kosek.xsl +++ b/common/autoidx-kosek.xsl @@ -4,21 +4,20 @@ %common.entities; ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - version="1.0" + xmlns:d="http://docbook.org/ns/docbook" + version="1.0" xmlns:func="http://exslt.org/functions" xmlns:exslt="http://exslt.org/common" xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" xmlns:fo="http://www.w3.org/1999/XSL/Format" extension-element-prefixes="func exslt" - exclude-result-prefixes="func exslt i l" + exclude-result-prefixes="func exslt i l d" xmlns:i="urn:cz-kosek:functions:index"> <!-- ******************************************************************** - $Id: autoidx-kosek.xsl 8759 2010-07-20 21:46:07Z kosek $ - ******************************************************************** This file is part of the DocBook XSL Stylesheet distribution. - See ../README or http://docbook.sf.net/ for copyright + See ../README or http://cdn.docbook.org/ for copyright copyright and other information. ******************************************************************** --> @@ -148,7 +147,7 @@ </func:function> <xsl:key name="group-code" - match="indexterm" + match="d:indexterm" use="i:group-index(&primary;)"/> </xsl:stylesheet> diff --git a/common/az.xml b/common/az.xml index f9522b3..c38ba4f 100644 --- a/common/az.xml +++ b/common/az.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="az" english-language-name="Azerbaijani"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="az" english-language-name="Azerbaijani"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -729,4 +728,4 @@ <l:l i="32">Z</l:l> <l:l i="32">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/bg.xml b/common/bg.xml index cd97872..aa092f4 100644 --- a/common/bg.xml +++ b/common/bg.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bg" english-language-name="Bulgarian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bg" english-language-name="Bulgarian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -781,4 +780,4 @@ <l:l i="660">Z</l:l> <l:l i="660">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/bn.xml b/common/bn.xml index 2a8677d..16f6fad 100644 --- a/common/bn.xml +++ b/common/bn.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bn" english-language-name="Bangla"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bn" english-language-name="Bangla"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/bn_in.xml b/common/bn_in.xml index 925e1c5..81df19d 100644 --- a/common/bn_in.xml +++ b/common/bn_in.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bn_in" english-language-name="Indian Bangla"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bn_in" english-language-name="Indian Bangla"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/bs.xml b/common/bs.xml index 6a61439..733bba8 100644 --- a/common/bs.xml +++ b/common/bs.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bs" english-language-name="Bosnian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="bs" english-language-name="Bosnian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -719,4 +718,4 @@ <l:l i="260">Ž</l:l> <l:l i="260">ž</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ca.xml b/common/ca.xml index c2fee96..46695d8 100644 --- a/common/ca.xml +++ b/common/ca.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ca" english-language-name="Catalan"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ca" english-language-name="Catalan"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/charmap.xml b/common/charmap.xml index a12a84f..91f318c 100644 --- a/common/charmap.xml +++ b/common/charmap.xml @@ -1,10 +1,8 @@ -<?xml version="1.0"?> - -<reference xml:id="charmap"> +<?xml version="1.0" encoding="UTF-8"?> +<reference xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="charmap"> <info> <title>Common » Character-Map Template Reference</title> <releaseinfo role="meta"> - $Id: charmap.xsl 7266 2007-08-22 11:58:42Z xmldoc $ </releaseinfo> </info> @@ -36,7 +34,7 @@ </partintro> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.apply-character-map"> +<refentry xml:id="template.apply-character-map"> <refnamediv> <refname>apply-character-map</refname> <refpurpose>Applies an XSLT character map</refpurpose> @@ -111,7 +109,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.read-character-map"> +<refentry xml:id="template.read-character-map"> <refnamediv> <refname>read-character-map</refname> <refpurpose>Reads in all or part of an XSLT character map</refpurpose> @@ -182,4 +180,3 @@ </refsect1></refentry> </reference> - diff --git a/common/charmap.xsl b/common/charmap.xsl index 3e0f5d4..5adc9de 100644 --- a/common/charmap.xsl +++ b/common/charmap.xsl @@ -1,18 +1,17 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:dyn="http://exslt.org/dynamic" xmlns:saxon="http://icl.com/saxon" xmlns:xlink="http://www.w3.org/1999/xlink" - exclude-result-prefixes="doc dyn saxon" + exclude-result-prefixes="doc dyn saxon d" version='1.0'> <!-- ******************************************************************** - $Id: charmap.xsl 7266 2007-08-22 11:58:42Z xmldoc $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -20,7 +19,6 @@ <info> <title>Common » Character-Map Template Reference</title> <releaseinfo role="meta"> - $Id: charmap.xsl 7266 2007-08-22 11:58:42Z xmldoc $ </releaseinfo> </info> <!-- * yes, partintro is a valid child of a reference... --> diff --git a/common/common.xml b/common/common.xml index 78b6cbd..150d37c 100644 --- a/common/common.xml +++ b/common/common.xml @@ -1,10 +1,8 @@ -<?xml version="1.0"?> - -<reference xml:id="base"> +<?xml version="1.0" encoding="UTF-8"?> +<reference xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="base"> <info> <title>Common » Base Template Reference</title> <releaseinfo role="meta"> - $Id: common.xsl 9965 2015-06-29 14:38:09Z tom_schr $ </releaseinfo> </info> @@ -21,7 +19,7 @@ </partintro> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.is.component"> +<refentry xml:id="template.is.component"> <refnamediv> <refname>is.component</refname> <refpurpose>Tests if a given node is a component-level element</refpurpose> @@ -56,7 +54,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.is.section"> +<refentry xml:id="template.is.section"> <refnamediv> <refname>is.section</refname> <refpurpose>Tests if a given node is a section-level element</refpurpose> @@ -91,7 +89,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.section.level"> +<refentry xml:id="template.section.level"> <refnamediv> <refname>section.level</refname> <refpurpose>Returns the hierarchical level of a section</refpurpose> @@ -132,7 +130,7 @@ Defaults to the context node.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.qanda.section.level"> +<refentry xml:id="template.qanda.section.level"> <refnamediv> <refname>qanda.section.level</refname> <refpurpose>Returns the hierarchical level of a QandASet</refpurpose> @@ -152,14 +150,14 @@ Defaults to the context node.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.select.mediaobject"> +<refentry xml:id="template.select.mediaobject"> <refnamediv> <refname>select.mediaobject</refname> <refpurpose>Selects and processes an appropriate media object from a list</refpurpose> </refnamediv> <refsynopsisdiv> <synopsis><xsl:template name="select.mediaobject"> -<xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> +<xsl:param name="olist" select="d:imageobject|d:imageobjectco |d:videoobject|d:audioobject|d:textobject"/> ... </xsl:template></synopsis> </refsynopsisdiv> @@ -197,14 +195,14 @@ in the list is appropriate.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.select.mediaobject.index"> +<refentry xml:id="template.select.mediaobject.index"> <refnamediv> <refname>select.mediaobject.index</refname> <refpurpose>Selects the position of the appropriate media object from a list</refpurpose> </refnamediv> <refsynopsisdiv> <synopsis><xsl:template name="select.mediaobject.index"> -<xsl:param name="olist" select="imageobject|imageobjectco |videoobject|audioobject|textobject"/> +<xsl:param name="olist" select="d:imageobject|d:imageobjectco |d:videoobject|d:audioobject|d:textobject"/> <xsl:param name="count">1</xsl:param> ... </xsl:template></synopsis> @@ -261,7 +259,7 @@ recursive process.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.is.acceptable.mediaobject"> +<refentry xml:id="template.is.acceptable.mediaobject"> <refnamediv> <refname>is.acceptable.mediaobject</refname> <refpurpose>Returns '1' if the specified media object is recognized</refpurpose> @@ -295,7 +293,7 @@ object is recognized as a graphic.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.check.id.unique"> +<refentry xml:id="template.check.id.unique"> <refnamediv> <refname>check.id.unique</refname> <refpurpose>Warn users about references to non-unique IDs</refpurpose> @@ -315,7 +313,7 @@ the ID is not unique.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.check.idref.targets"> +<refentry xml:id="template.check.idref.targets"> <refnamediv> <refname>check.idref.targets</refname> <refpurpose>Warn users about incorrectly typed references</refpurpose> @@ -336,7 +334,7 @@ pointed to by the link is one of the elements listed in </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.copyright.years"> +<refentry xml:id="template.copyright.years"> <refnamediv> <refname>copyright.years</refname> <refpurpose>Print a set of years with collapsed ranges</refpurpose> @@ -415,7 +413,7 @@ year range is <quote>1991-1992</quote> but discretely it's </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.find.path.params"> +<refentry xml:id="template.find.path.params"> <refnamediv> <refname>find.path.params</refname> <refpurpose>Search in a table for the "best" match for the node</refpurpose> @@ -440,7 +438,7 @@ node location.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.string.upper"> +<refentry xml:id="template.string.upper"> <refnamediv> <refname>string.upper</refname> <refpurpose>Converts a string to all uppercase letters</refpurpose> @@ -476,7 +474,7 @@ unchanged.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.string.lower"> +<refentry xml:id="template.string.lower"> <refnamediv> <refname>string.lower</refname> <refpurpose>Converts a string to all lowercase letters</refpurpose> @@ -512,7 +510,7 @@ unchanged.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.select.choice.separator"> +<refentry xml:id="template.select.choice.separator"> <refnamediv> <refname>select.choice.separator</refname> <refpurpose>Returns localized choice separator</refpurpose> @@ -561,7 +559,7 @@ unchanged.</para> </warning> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.evaluate.info.profile"> +<refentry xml:id="template.evaluate.info.profile"> <refnamediv> <refname>evaluate.info.profile</refname> <refpurpose>Evaluates an info profile</refpurpose> @@ -619,7 +617,7 @@ unchanged.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.graphic.format.content-type"> +<refentry xml:id="template.graphic.format.content-type"> <refnamediv> <refname>graphic.format.content-type</refname> <refpurpose>Returns mimetype for media format</refpurpose> @@ -638,4 +636,3 @@ unchanged.</para> </refsect1></refentry> </reference> - diff --git a/common/common.xsl b/common/common.xsl index cd3ea66..59f51df 100644 --- a/common/common.xsl +++ b/common/common.xsl @@ -4,18 +4,17 @@ <!ENTITY uppercase "'ABCDEFGHIJKLMNOPQRSTUVWXYZ'"> ]> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:dyn="http://exslt.org/dynamic" xmlns:saxon="http://icl.com/saxon" - exclude-result-prefixes="doc dyn saxon" + exclude-result-prefixes="doc dyn saxon d" version='1.0'> <!-- ******************************************************************** - $Id: common.xsl 9965 2015-06-29 14:38:09Z tom_schr $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -24,7 +23,6 @@ <info> <title>Common » Base Template Reference</title> <releaseinfo role="meta"> - $Id: common.xsl 9965 2015-06-29 14:38:09Z tom_schr $ </releaseinfo> </info> <!-- * yes, partintro is a valid child of a reference... --> @@ -44,44 +42,44 @@ <xsl:preserve-space elements="*"/> <xsl:strip-space elements=" -abstract affiliation anchor answer appendix area areaset areaspec -artheader article audiodata audioobject author authorblurb authorgroup -beginpage bibliodiv biblioentry bibliography biblioset blockquote book -bookinfo callout calloutlist caption caution chapter -citerefentry cmdsynopsis co collab colophon colspec confgroup -copyright dedication docinfo editor entrytbl epigraph equation -example figure footnote footnoteref formalpara funcprototype -funcsynopsis glossary glossdef glossdiv glossentry glosslist graphicco -group highlights imagedata imageobject imageobjectco important index -indexdiv indexentry indexterm info informalequation informalexample -informalfigure informaltable inlineequation inlinemediaobject -itemizedlist itermset keycombo keywordset legalnotice listitem lot -mediaobject mediaobjectco menuchoice msg msgentry msgexplan msginfo -msgmain msgrel msgset msgsub msgtext note objectinfo -orderedlist othercredit part partintro preface printhistory procedure -programlistingco publisher qandadiv qandaentry qandaset question -refentry reference refmeta refnamediv refsection refsect1 refsect1info refsect2 -refsect2info refsect3 refsect3info refsynopsisdiv refsynopsisdivinfo -revhistory revision row sbr screenco screenshot sect1 sect1info sect2 -sect2info sect3 sect3info sect4 sect4info sect5 sect5info section -sectioninfo seglistitem segmentedlist seriesinfo set setindex setinfo -shortcut sidebar simplelist simplesect spanspec step subject -subjectset substeps synopfragment table tbody textobject tfoot tgroup -thead tip toc tocchap toclevel1 toclevel2 toclevel3 toclevel4 -toclevel5 tocpart topic varargs variablelist varlistentry videodata -videoobject void warning subjectset - -classsynopsis -constructorsynopsis -destructorsynopsis -fieldsynopsis -methodparam -methodsynopsis -ooclass -ooexception -oointerface -simplemsgentry -manvolnum +d:abstract d:affiliation d:anchor d:answer d:appendix d:area d:areaset d:areaspec +d:artheader d:article d:audiodata d:audioobject d:author d:authorblurb d:authorgroup +d:beginpage d:bibliodiv d:biblioentry d:bibliography d:biblioset d:blockquote d:book +d:bookinfo d:callout d:calloutlist d:caption d:caution d:chapter +d:citerefentry d:cmdsynopsis d:co d:collab d:colophon d:colspec d:confgroup +d:copyright d:dedication d:docinfo d:editor d:entrytbl d:epigraph d:equation +d:example d:figure d:footnote d:footnoteref d:formalpara d:funcprototype +d:funcsynopsis d:glossary d:glossdef d:glossdiv d:glossentry d:glosslist d:graphicco +d:group d:highlights d:imagedata d:imageobject d:imageobjectco d:important d:index +d:indexdiv d:indexentry d:indexterm d:info d:informalequation d:informalexample +d:informalfigure d:informaltable d:inlineequation d:inlinemediaobject +d:itemizedlist d:itermset d:keycombo d:keywordset d:legalnotice d:listitem d:lot +d:mediaobject d:mediaobjectco d:menuchoice d:msg d:msgentry d:msgexplan d:msginfo +d:msgmain d:msgrel d:msgset d:msgsub d:msgtext d:note d:objectinfo +d:orderedlist d:othercredit d:part d:partintro d:preface d:printhistory d:procedure +d:programlistingco d:publisher d:qandadiv d:qandaentry d:qandaset d:question +d:refentry d:reference d:refmeta d:refnamediv d:refsection d:refsect1 d:refsect1info d:refsect2 +d:refsect2info d:refsect3 d:refsect3info d:refsynopsisdiv d:refsynopsisdivinfo +d:revhistory d:revision d:row d:sbr d:screenco d:screenshot d:sect1 d:sect1info d:sect2 +d:sect2info d:sect3 d:sect3info d:sect4 d:sect4info d:sect5 d:sect5info d:section +d:sectioninfo d:seglistitem d:segmentedlist d:seriesinfo d:set d:setindex d:setinfo +d:shortcut d:sidebar d:simplelist d:simplesect d:spanspec d:step d:subject +d:subjectset d:substeps d:synopfragment d:table d:tbody d:textobject d:tfoot d:tgroup +d:thead d:tip d:toc d:tocchap d:toclevel1 d:toclevel2 d:toclevel3 d:toclevel4 +d:toclevel5 d:tocpart d:topic d:varargs d:variablelist d:varlistentry d:videodata +d:videoobject d:void d:warning d:subjectset + +d:classsynopsis +d:constructorsynopsis +d:destructorsynopsis +d:fieldsynopsis +d:methodparam +d:methodsynopsis +d:ooclass +d:ooexception +d:oointerface +d:simplemsgentry +d:manvolnum "/> <!-- ====================================================================== --> @@ -206,11 +204,11 @@ Defaults to the context node.</para> <xsl:when test="local-name($node)='sect5'">5</xsl:when> <xsl:when test="local-name($node)='section'"> <xsl:choose> - <xsl:when test="$node/../../../../../../section">6</xsl:when> - <xsl:when test="$node/../../../../../section">5</xsl:when> - <xsl:when test="$node/../../../../section">4</xsl:when> - <xsl:when test="$node/../../../section">3</xsl:when> - <xsl:when test="$node/../../section">2</xsl:when> + <xsl:when test="$node/../../../../../../d:section">6</xsl:when> + <xsl:when test="$node/../../../../../d:section">5</xsl:when> + <xsl:when test="$node/../../../../d:section">4</xsl:when> + <xsl:when test="$node/../../../d:section">3</xsl:when> + <xsl:when test="$node/../../d:section">2</xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:when> @@ -225,16 +223,16 @@ Defaults to the context node.</para> </xsl:when> <xsl:when test="local-name($node)='simplesect'"> <xsl:choose> - <xsl:when test="$node/../../sect1">2</xsl:when> - <xsl:when test="$node/../../sect2">3</xsl:when> - <xsl:when test="$node/../../sect3">4</xsl:when> - <xsl:when test="$node/../../sect4">5</xsl:when> - <xsl:when test="$node/../../sect5">5</xsl:when> - <xsl:when test="$node/../../section"> + <xsl:when test="$node/../../d:sect1">2</xsl:when> + <xsl:when test="$node/../../d:sect2">3</xsl:when> + <xsl:when test="$node/../../d:sect3">4</xsl:when> + <xsl:when test="$node/../../d:sect4">5</xsl:when> + <xsl:when test="$node/../../d:sect5">5</xsl:when> + <xsl:when test="$node/../../d:section"> <xsl:choose> - <xsl:when test="$node/../../../../../section">5</xsl:when> - <xsl:when test="$node/../../../../section">4</xsl:when> - <xsl:when test="$node/../../../section">3</xsl:when> + <xsl:when test="$node/../../../../../d:section">5</xsl:when> + <xsl:when test="$node/../../../../d:section">4</xsl:when> + <xsl:when test="$node/../../../d:section">3</xsl:when> <xsl:otherwise>2</xsl:otherwise> </xsl:choose> </xsl:when> @@ -261,16 +259,16 @@ Defaults to the context node.</para> <xsl:template name="qanda.section.level"> <xsl:variable name="section" - select="(ancestor::section - |ancestor::simplesect - |ancestor::sect5 - |ancestor::sect4 - |ancestor::sect3 - |ancestor::sect2 - |ancestor::sect1 - |ancestor::refsect3 - |ancestor::refsect2 - |ancestor::refsect1)[last()]"/> + select="(ancestor::d:section + |ancestor::d:simplesect + |ancestor::d:sect5 + |ancestor::d:sect4 + |ancestor::d:sect3 + |ancestor::d:sect2 + |ancestor::d:sect1 + |ancestor::d:refsect3 + |ancestor::d:refsect2 + |ancestor::d:refsect1)[last()]"/> <xsl:choose> <xsl:when test="count($section) = '0'">1</xsl:when> @@ -291,7 +289,7 @@ Defaults to the context node.</para> <xsl:variable name="RElevel"> <xsl:call-template name="refentry.level"> - <xsl:with-param name="node" select="$node/ancestor::refentry[1]"/> + <xsl:with-param name="node" select="$node/ancestor::d:refentry[1]"/> </xsl:call-template> </xsl:variable> @@ -303,10 +301,10 @@ Defaults to the context node.</para> <xsl:when test="local-name($node)='refsect3'">3</xsl:when> <xsl:when test="local-name($node)='refsection'"> <xsl:choose> - <xsl:when test="$node/../../../../../refsection">5</xsl:when> - <xsl:when test="$node/../../../../refsection">4</xsl:when> - <xsl:when test="$node/../../../refsection">3</xsl:when> - <xsl:when test="$node/../../refsection">2</xsl:when> + <xsl:when test="$node/../../../../../d:refsection">5</xsl:when> + <xsl:when test="$node/../../../../d:refsection">4</xsl:when> + <xsl:when test="$node/../../../d:refsection">3</xsl:when> + <xsl:when test="$node/../../d:refsection">2</xsl:when> <xsl:otherwise>1</xsl:otherwise> </xsl:choose> </xsl:when> @@ -320,12 +318,12 @@ Defaults to the context node.</para> <xsl:template name="refentry.level"> <xsl:param name="node" select="."/> <xsl:variable name="container" - select="($node/ancestor::section | - $node/ancestor::sect1 | - $node/ancestor::sect2 | - $node/ancestor::sect3 | - $node/ancestor::sect4 | - $node/ancestor::sect5)[last()]"/> + select="($node/ancestor::d:section | + $node/ancestor::d:sect1 | + $node/ancestor::d:sect2 | + $node/ancestor::d:sect3 | + $node/ancestor::d:sect4 | + $node/ancestor::d:sect5)[last()]"/> <xsl:choose> <xsl:when test="$container"> @@ -344,7 +342,7 @@ Defaults to the context node.</para> <xsl:variable name="section.level"> <xsl:call-template name="qanda.section.level"/> </xsl:variable> - <xsl:variable name="anc.divs" select="ancestor::qandadiv"/> + <xsl:variable name="anc.divs" select="ancestor::d:qandadiv"/> <xsl:value-of select="count($anc.divs) + number($section.level)"/> </xsl:template> @@ -411,17 +409,17 @@ Defaults to the context node.</para> </xsl:when> <xsl:when test="$deflabel = 'number' and local-name(.) = 'question'"> - <xsl:apply-templates select="ancestor::qandaset[1]" + <xsl:apply-templates select="ancestor::d:qandaset[1]" mode="number"/> <xsl:choose> - <xsl:when test="ancestor::qandadiv"> - <xsl:apply-templates select="ancestor::qandadiv[1]" + <xsl:when test="ancestor::d:qandadiv"> + <xsl:apply-templates select="ancestor::d:qandadiv[1]" mode="number"/> - <xsl:apply-templates select="ancestor::qandaentry" + <xsl:apply-templates select="ancestor::d:qandaentry" mode="number"/> </xsl:when> <xsl:otherwise> - <xsl:apply-templates select="ancestor::qandaentry" + <xsl:apply-templates select="ancestor::d:qandaentry" mode="number"/> </xsl:otherwise> </xsl:choose> @@ -432,21 +430,21 @@ Defaults to the context node.</para> </xsl:choose> </xsl:template> -<xsl:template match="qandaset" mode="number"> +<xsl:template match="d:qandaset" mode="number"> <!-- FIXME: --> </xsl:template> -<xsl:template match="qandadiv" mode="number"> - <xsl:number level="multiple" from="qandaset" format="1."/> +<xsl:template match="d:qandadiv" mode="number"> + <xsl:number level="multiple" from="d:qandaset" format="1."/> </xsl:template> -<xsl:template match="qandaentry" mode="number"> +<xsl:template match="d:qandaentry" mode="number"> <xsl:choose> - <xsl:when test="ancestor::qandadiv"> - <xsl:number level="single" from="qandadiv" format="1."/> + <xsl:when test="ancestor::d:qandadiv"> + <xsl:number level="single" from="d:qandadiv" format="1."/> </xsl:when> <xsl:otherwise> - <xsl:number level="single" from="qandaset" format="1."/> + <xsl:number level="single" from="d:qandaset" format="1."/> </xsl:otherwise> </xsl:choose> </xsl:template> @@ -495,9 +493,9 @@ Defaults to the context node.</para> <xsl:choose> <!-- the personname element is a specialcase --> - <xsl:when test="$node/personname"> + <xsl:when test="$node/d:personname"> <xsl:call-template name="person.name"> - <xsl:with-param name="node" select="$node/personname"/> + <xsl:with-param name="node" select="$node/d:personname"/> </xsl:call-template> </xsl:when> @@ -512,7 +510,7 @@ Defaults to the context node.</para> <xsl:otherwise> <xsl:choose> <!-- Handle case when personname contains only general markup (DocBook 5.0) --> - <xsl:when test="$node/self::personname and not($node/firstname or $node/honorific or $node/lineage or $node/othername or $node/surname)"> + <xsl:when test="$node/self::d:personname and not($node/d:firstname or $node/d:honorific or $node/d:lineage or $node/d:othername or $node/d:surname)"> <xsl:apply-templates select="$node/node()"/> </xsl:when> <xsl:when test="$style = 'family-given'"> @@ -540,13 +538,13 @@ Defaults to the context node.</para> <!-- The family-given style applies a convention for identifying given --> <!-- and family names in locales where it may be ambiguous --> - <xsl:apply-templates select="$node//surname[1]"/> + <xsl:apply-templates select="$node//d:surname[1]"/> - <xsl:if test="$node//surname and $node//firstname"> + <xsl:if test="$node//d:surname and $node//d:firstname"> <xsl:text> </xsl:text> </xsl:if> - <xsl:apply-templates select="$node//firstname[1]"/> + <xsl:apply-templates select="$node//d:firstname[1]"/> <xsl:text> [FAMILY Given]</xsl:text> </xsl:template> @@ -554,48 +552,48 @@ Defaults to the context node.</para> <xsl:template name="person.name.last-first"> <xsl:param name="node" select="."/> - <xsl:apply-templates select="$node//surname[1]"/> + <xsl:apply-templates select="$node//d:surname[1]"/> - <xsl:if test="$node//surname and $node//firstname"> + <xsl:if test="$node//d:surname and $node//d:firstname"> <xsl:text>, </xsl:text> </xsl:if> - <xsl:apply-templates select="$node//firstname[1]"/> + <xsl:apply-templates select="$node//d:firstname[1]"/> </xsl:template> <xsl:template name="person.name.first-last"> <xsl:param name="node" select="."/> - <xsl:if test="$node//honorific"> - <xsl:apply-templates select="$node//honorific[1]"/> + <xsl:if test="$node//d:honorific"> + <xsl:apply-templates select="$node//d:honorific[1]"/> <xsl:value-of select="$punct.honorific"/> </xsl:if> - <xsl:if test="$node//firstname"> - <xsl:if test="$node//honorific"> + <xsl:if test="$node//d:firstname"> + <xsl:if test="$node//d:honorific"> <xsl:text> </xsl:text> </xsl:if> - <xsl:apply-templates select="$node//firstname[1]"/> + <xsl:apply-templates select="$node//d:firstname[1]"/> </xsl:if> - <xsl:if test="$node//othername and $author.othername.in.middle != 0"> - <xsl:if test="$node//honorific or $node//firstname"> + <xsl:if test="$node//d:othername and $author.othername.in.middle != 0"> + <xsl:if test="$node//d:honorific or $node//d:firstname"> <xsl:text> </xsl:text> </xsl:if> - <xsl:apply-templates select="$node//othername[1]"/> + <xsl:apply-templates select="$node//d:othername[1]"/> </xsl:if> - <xsl:if test="$node//surname"> - <xsl:if test="$node//honorific or $node//firstname - or ($node//othername and $author.othername.in.middle != 0)"> + <xsl:if test="$node//d:surname"> + <xsl:if test="$node//d:honorific or $node//d:firstname + or ($node//d:othername and $author.othername.in.middle != 0)"> <xsl:text> </xsl:text> </xsl:if> - <xsl:apply-templates select="$node//surname[1]"/> + <xsl:apply-templates select="$node//d:surname[1]"/> </xsl:if> - <xsl:if test="$node//lineage"> + <xsl:if test="$node//d:lineage"> <xsl:text>, </xsl:text> - <xsl:apply-templates select="$node//lineage[1]"/> + <xsl:apply-templates select="$node//d:lineage[1]"/> </xsl:if> </xsl:template> @@ -611,7 +609,7 @@ Defaults to the context node.</para> John Doe, Jane Doe, and A. Nonymous --> <xsl:param name="person.list" - select="author|corpauthor|othercredit|editor"/> + select="d:author|d:corpauthor|d:othercredit|d:editor"/> <xsl:param name="person.count" select="count($person.list)"/> <xsl:param name="count" select="1"/> @@ -856,8 +854,8 @@ in the list is appropriate.</para> <xsl:template name="select.mediaobject"> <xsl:param name="olist" - select="imageobject|imageobjectco - |videoobject|audioobject|textobject"/> + select="d:imageobject|d:imageobjectco + |d:videoobject|d:audioobject|d:textobject"/> <xsl:variable name="mediaobject.index"> <xsl:call-template name="select.mediaobject.index"> @@ -919,8 +917,8 @@ recursive process.</para> <xsl:template name="select.mediaobject.index"> <xsl:param name="olist" - select="imageobject|imageobjectco - |videoobject|audioobject|textobject"/> + select="d:imageobject|d:imageobjectco + |d:videoobject|d:audioobject|d:textobject"/> <xsl:param name="count">1</xsl:param> <xsl:choose> @@ -982,23 +980,23 @@ recursive process.</para> </xsl:when> <!-- skip textobject if also video, audio, or image out of order --> <xsl:when test="local-name($object) = 'textobject' and - ../imageobject or - ../audioobject or - ../videoobject"> + ../d:imageobject or + ../d:audioobject or + ../d:videoobject"> <xsl:text>0</xsl:text> </xsl:when> <!-- The phrase is used only when contains TeX Math and output is FO --> - <xsl:when test="local-name($object)='textobject' and $object/phrase + <xsl:when test="local-name($object)='textobject' and $object/d:phrase and $object/@role='tex' and $stylesheet.result.type = 'fo' and $tex.math.in.alt != ''"> <xsl:text>1</xsl:text> </xsl:when> <!-- The phrase is never used --> - <xsl:when test="local-name($object)='textobject' and $object/phrase"> + <xsl:when test="local-name($object)='textobject' and $object/d:phrase"> <xsl:text>0</xsl:text> </xsl:when> <xsl:when test="local-name($object)='textobject' - and $object/ancestor::equation "> + and $object/ancestor::d:equation "> <!-- The first textobject is not a reasonable fallback for equation image --> <xsl:text>0</xsl:text> @@ -1010,8 +1008,8 @@ recursive process.</para> </xsl:when> <!-- don't use graphic when output is FO, TeX Math is used and there is math in alt element --> - <xsl:when test="$object/ancestor::equation and - $object/ancestor::equation/alt[@role='tex'] + <xsl:when test="$object/ancestor::d:equation and + $object/ancestor::d:equation/d:alt[@role='tex'] and $stylesheet.result.type = 'fo' and $tex.math.in.alt != ''"> <xsl:text>0</xsl:text> @@ -1026,7 +1024,7 @@ recursive process.</para> <!-- peek inside imageobjectco to simplify the test --> <xsl:when test="local-name($object) = 'imageobjectco'"> <xsl:call-template name="is.acceptable.mediaobject"> - <xsl:with-param name="object" select="$object/imageobject"/> + <xsl:with-param name="object" select="$object/d:imageobject"/> </xsl:call-template> </xsl:when> <xsl:otherwise> @@ -1094,9 +1092,9 @@ object is recognized as a graphic.</para> </xsl:variable> <!-- there will only be one --> - <xsl:variable name="data" select="$object/videodata - |$object/imagedata - |$object/audiodata"/> + <xsl:variable name="data" select="$object/d:videodata + |$object/d:imagedata + |$object/d:audiodata"/> <xsl:variable name="format" select="$data/@format"/> @@ -1129,9 +1127,9 @@ object is recognized as a graphic.</para> <xsl:template name="mediaobject.filename"> <xsl:param name="object"></xsl:param> - <xsl:variable name="data" select="$object/videodata - |$object/imagedata - |$object/audiodata + <xsl:variable name="data" select="$object/d:videodata + |$object/d:imagedata + |$object/d:audiodata |$object"/> <xsl:variable name="filename"> @@ -1286,7 +1284,7 @@ pointed to by the link is one of the elements listed in <xsl:choose> <xsl:when test="local-name($context) = 'substeps'"> <xsl:variable name="ssdepth" - select="count($context/ancestor::substeps)"/> + select="count($context/ancestor::d:substeps)"/> <xsl:variable name="sstype" select="($ssdepth mod $format.length)+2"/> <xsl:choose> <xsl:when test="$sstype > $format.length"> @@ -1299,7 +1297,7 @@ pointed to by the link is one of the elements listed in </xsl:when> <xsl:when test="local-name($context) = 'step'"> <xsl:variable name="sdepth" - select="count($context/ancestor::substeps)"/> + select="count($context/ancestor::d:substeps)"/> <xsl:variable name="stype" select="($sdepth mod $format.length)+1"/> <xsl:value-of select="substring($procedure.step.numeration.formats,$stype,1)"/> </xsl:when> @@ -1312,18 +1310,18 @@ pointed to by the link is one of the elements listed in </xsl:choose> </xsl:template> -<xsl:template match="step" mode="number"> +<xsl:template match="d:step" mode="number"> <xsl:param name="rest" select="''"/> <xsl:param name="recursive" select="1"/> <xsl:variable name="format"> <xsl:call-template name="procedure.step.numeration"/> </xsl:variable> <xsl:variable name="num"> - <xsl:number count="step" format="{$format}"/> + <xsl:number count="d:step" format="{$format}"/> </xsl:variable> <xsl:choose> - <xsl:when test="$recursive != 0 and ancestor::step"> - <xsl:apply-templates select="ancestor::step[1]" mode="number"> + <xsl:when test="$recursive != 0 and ancestor::d:step"> + <xsl:apply-templates select="ancestor::d:step[1]" mode="number"> <xsl:with-param name="rest" select="concat('.', $num, $rest)"/> </xsl:apply-templates> </xsl:when> @@ -1353,12 +1351,12 @@ pointed to by the link is one of the elements listed in <xsl:otherwise> <!-- match on previous list at same nesting level --> <xsl:variable name="prevlist" - select="$list/preceding::orderedlist - [count($list/ancestor::orderedlist) = count(ancestor::orderedlist)][1]"/> + select="$list/preceding::d:orderedlist + [count($list/ancestor::d:orderedlist) = count(ancestor::d:orderedlist)][1]"/> <xsl:choose> <xsl:when test="count($prevlist) = 0">2</xsl:when> <xsl:otherwise> - <xsl:variable name="prevlength" select="count($prevlist/listitem)"/> + <xsl:variable name="prevlength" select="count($prevlist/d:listitem)"/> <xsl:variable name="prevstart"> <xsl:call-template name="orderedlist-starting-number"> <xsl:with-param name="list" select="$prevlist"/> @@ -1378,10 +1376,10 @@ pointed to by the link is one of the elements listed in <xsl:when test="$node/@override"> <xsl:value-of select="$node/@override"/> </xsl:when> - <xsl:when test="$node/preceding-sibling::listitem"> + <xsl:when test="$node/preceding-sibling::d:listitem"> <xsl:variable name="pnum"> <xsl:call-template name="orderedlist-item-number"> - <xsl:with-param name="node" select="$node/preceding-sibling::listitem[1]"/> + <xsl:with-param name="node" select="$node/preceding-sibling::d:listitem[1]"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="$pnum + 1"/> @@ -1416,11 +1414,11 @@ pointed to by the link is one of the elements listed in </xsl:when> <xsl:otherwise> <xsl:choose> - <xsl:when test="$node/ancestor::orderedlist"> + <xsl:when test="$node/ancestor::d:orderedlist"> <xsl:call-template name="next.numeration"> <xsl:with-param name="numeration"> <xsl:call-template name="list.numeration"> - <xsl:with-param name="node" select="$node/ancestor::orderedlist[1]"/> + <xsl:with-param name="node" select="$node/ancestor::d:orderedlist[1]"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> @@ -1433,10 +1431,10 @@ pointed to by the link is one of the elements listed in </xsl:choose> </xsl:template> -<xsl:template match="orderedlist/listitem" mode="item-number"> +<xsl:template match="d:orderedlist/d:listitem" mode="item-number"> <xsl:variable name="numeration"> <xsl:call-template name="list.numeration"> - <xsl:with-param name="node" select="parent::orderedlist"/> + <xsl:with-param name="node" select="parent::d:orderedlist"/> </xsl:call-template> </xsl:variable> @@ -1462,9 +1460,9 @@ pointed to by the link is one of the elements listed in <xsl:call-template name="orderedlist-item-number"/> </xsl:variable> - <xsl:if test="parent::orderedlist/@inheritnum='inherit' - and ancestor::listitem[parent::orderedlist]"> - <xsl:apply-templates select="ancestor::listitem[parent::orderedlist][1]" + <xsl:if test="parent::d:orderedlist/@inheritnum='inherit' + and ancestor::d:listitem[parent::d:orderedlist]"> + <xsl:apply-templates select="ancestor::d:listitem[parent::d:orderedlist][1]" mode="item-number"/> </xsl:if> @@ -1496,11 +1494,11 @@ pointed to by the link is one of the elements listed in </xsl:when> <xsl:otherwise> <xsl:choose> - <xsl:when test="$node/ancestor::itemizedlist"> + <xsl:when test="$node/ancestor::d:itemizedlist"> <xsl:call-template name="next.itemsymbol"> <xsl:with-param name="itemsymbol"> <xsl:call-template name="list.itemsymbol"> - <xsl:with-param name="node" select="$node/ancestor::itemizedlist[1]"/> + <xsl:with-param name="node" select="$node/ancestor::d:itemizedlist[1]"/> </xsl:call-template> </xsl:with-param> </xsl:call-template> diff --git a/common/cs.xml b/common/cs.xml index 574ad41..d2bf889 100644 --- a/common/cs.xml +++ b/common/cs.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cs" english-language-name="Czech"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cs" english-language-name="Czech"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -757,4 +756,4 @@ <l:l i="34">Ž</l:l> <l:l i="34">ž</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/cy.xml b/common/cy.xml index 75e52f7..526f1f4 100644 --- a/common/cy.xml +++ b/common/cy.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cy" english-language-name="Welsh"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="cy" english-language-name="Welsh"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1302,4 +1301,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/da.xml b/common/da.xml index 0ff79bb..09c4d16 100644 --- a/common/da.xml +++ b/common/da.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="da" english-language-name="Danish"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="da" english-language-name="Danish"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -721,4 +720,4 @@ <l:l i="29">Å</l:l> <l:l i="29">å</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/de.xml b/common/de.xml index f8bd508..0542cf0 100644 --- a/common/de.xml +++ b/common/de.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="de" english-language-name="German"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="de" english-language-name="German"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -723,4 +722,4 @@ <l:l i="26">Z</l:l> <l:l i="26">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/el.xml b/common/el.xml index 188b78f..b31f6bb 100644 --- a/common/el.xml +++ b/common/el.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="el" english-language-name="Greek"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="el" english-language-name="Greek"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -786,4 +785,4 @@ <l:l i="500">Ώ</l:l> <l:l i="500">ώ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/en.xml b/common/en.xml index 32474d6..22b80d7 100644 --- a/common/en.xml +++ b/common/en.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en" english-language-name="English"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="en" english-language-name="English"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/entities.ent b/common/entities.ent index 9256b1c..93f2080 100644 --- a/common/entities.ent +++ b/common/entities.ent @@ -1,12 +1,10 @@ <!-- ******************************************************************** - $Id: entities.ent 9286 2012-04-19 10:10:58Z bobstayton $ - ******************************************************************** This file contains common entity declarations used for sorting (and other things) by various templates. This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -24,11 +22,11 @@ If @sortas is not present, the first item is empty, and the added space is removed when normalize-space is applied, leaving just the entry --> -<!ENTITY primary 'normalize-space(concat(primary/@sortas, " ", primary))'> -<!ENTITY secondary 'normalize-space(concat(secondary/@sortas, " ", secondary))'> -<!ENTITY tertiary 'normalize-space(concat(tertiary/@sortas, " ", tertiary))'> +<!ENTITY primary 'normalize-space(concat(d:primary/@sortas, " ", d:primary))'> +<!ENTITY secondary 'normalize-space(concat(d:secondary/@sortas, " ", d:secondary))'> +<!ENTITY tertiary 'normalize-space(concat(d:tertiary/@sortas, " ", d:tertiary))'> -<!ENTITY section '(ancestor-or-self::set|ancestor-or-self::book|ancestor-or-self::part|ancestor-or-self::reference|ancestor-or-self::partintro|ancestor-or-self::chapter|ancestor-or-self::appendix|ancestor-or-self::preface|ancestor-or-self::article|ancestor-or-self::section|ancestor-or-self::sect1|ancestor-or-self::sect2|ancestor-or-self::sect3|ancestor-or-self::sect4|ancestor-or-self::sect5|ancestor-or-self::refentry|ancestor-or-self::refsect1|ancestor-or-self::refsect2|ancestor-or-self::refsect3|ancestor-or-self::simplesect|ancestor-or-self::bibliography|ancestor-or-self::glossary|ancestor-or-self::index|ancestor-or-self::webpage|ancestor-or-self::topic)[last()]'> +<!ENTITY section '(ancestor-or-self::d:set|ancestor-or-self::d:book|ancestor-or-self::d:part|ancestor-or-self::d:reference|ancestor-or-self::d:partintro|ancestor-or-self::d:chapter|ancestor-or-self::d:appendix|ancestor-or-self::d:preface|ancestor-or-self::d:article|ancestor-or-self::d:section|ancestor-or-self::d:sect1|ancestor-or-self::d:sect2|ancestor-or-self::d:sect3|ancestor-or-self::d:sect4|ancestor-or-self::d:sect5|ancestor-or-self::d:refentry|ancestor-or-self::d:refsect1|ancestor-or-self::d:refsect2|ancestor-or-self::d:refsect3|ancestor-or-self::d:simplesect|ancestor-or-self::d:bibliography|ancestor-or-self::d:glossary|ancestor-or-self::d:index|ancestor-or-self::d:webpage|ancestor-or-self::d:topic)[last()]'> <!ENTITY section.id 'generate-id(§ion;)'> <!ENTITY sep '" "'> @@ -54,14 +52,14 @@ '> <!-- Entity used in html/inline.xsl and fo/inline.xsl --> -<!ENTITY comment.block.parents "parent::answer|parent::appendix|parent::article|parent::bibliodiv| - parent::bibliography|parent::blockquote|parent::caution|parent::chapter| - parent::glossary|parent::glossdiv|parent::important|parent::index| - parent::indexdiv|parent::listitem|parent::note|parent::orderedlist| - parent::partintro|parent::preface|parent::procedure|parent::qandadiv| - parent::qandaset|parent::question|parent::refentry|parent::refnamediv| - parent::refsect1|parent::refsect2|parent::refsect3|parent::refsection| - parent::refsynopsisdiv|parent::sect1|parent::sect2|parent::sect3|parent::sect4| - parent::sect5|parent::section|parent::setindex|parent::sidebar| - parent::simplesect|parent::taskprerequisites|parent::taskrelated| - parent::tasksummary|parent::warning|parent::topic"> +<!ENTITY comment.block.parents "parent::d:answer|parent::d:appendix|parent::d:article|parent::d:bibliodiv| + parent::d:bibliography|parent::d:blockquote|parent::d:caution|parent::d:chapter| + parent::d:glossary|parent::d:glossdiv|parent::d:important|parent::d:index| + parent::d:indexdiv|parent::d:listitem|parent::d:note|parent::d:orderedlist| + parent::d:partintro|parent::d:preface|parent::d:procedure|parent::d:qandadiv| + parent::d:qandaset|parent::d:question|parent::d:refentry|parent::d:refnamediv| + parent::d:refsect1|parent::d:refsect2|parent::d:refsect3|parent::d:refsection| + parent::d:refsynopsisdiv|parent::d:sect1|parent::d:sect2|parent::d:sect3|parent::d:sect4| + parent::d:sect5|parent::d:section|parent::d:setindex|parent::d:sidebar| + parent::d:simplesect|parent::d:taskprerequisites|parent::d:taskrelated| + parent::d:tasksummary|parent::d:warning|parent::d:topic"> diff --git a/common/eo.xml b/common/eo.xml index e33dabe..ab8cda1 100644 --- a/common/eo.xml +++ b/common/eo.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eo" english-language-name="Esperanto"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eo" english-language-name="Esperanto"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -279,7 +278,7 @@ <l:template name="book" text="%t"/> <l:template name="calloutlist" text="%t"/> <l:template name="caution" text="%t"/> -<l:template name="chapter" text="Ĉapitro %n. %t""/> +<l:template name="chapter" text="Ĉapitro %n. %t""/> <l:template name="colophon" text="%t"/> <l:template name="dedication" text="%t"/> <l:template name="equation" text="Ekvacio %n. %t"/> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/es.xml b/common/es.xml index fd1f610..da47ad1 100644 --- a/common/es.xml +++ b/common/es.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="es" english-language-name="Spanish"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="es" english-language-name="Spanish"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -733,4 +732,4 @@ <l:l i="29">Z</l:l> <l:l i="29">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/et.xml b/common/et.xml index c1271af..dd38ca0 100644 --- a/common/et.xml +++ b/common/et.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="et" english-language-name="Estonian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="et" english-language-name="Estonian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/eu.xml b/common/eu.xml index 932079c..a9afa83 100644 --- a/common/eu.xml +++ b/common/eu.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eu" english-language-name="Basque"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="eu" english-language-name="Basque"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/fa.xml b/common/fa.xml index 5574076..6e5882b 100644 --- a/common/fa.xml +++ b/common/fa.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fa" english-language-name="Farsi"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fa" english-language-name="Farsi"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -265,7 +264,7 @@ <l:context name="title"><l:template name="abstract" text="%t"/> <l:template name="acknowledgements" text="%t" lang="en"/> <l:template name="answer" text="%t"/> -<l:template name="appendix" text=" پيوست %n. %t"/> +<l:template name="appendix" text="
 پيوست %n. %t"/> <l:template name="article" text="%t"/> <l:template name="authorblurb" text="%t"/> <l:template name="bibliodiv" text="%t"/> @@ -279,12 +278,12 @@ <l:template name="book" text="%t"/> <l:template name="calloutlist" text="%t"/> <l:template name="caution" text="%t"/> -<l:template name="chapter" text=" فصل %n. %t"/> +<l:template name="chapter" text="
 فصل %n. %t"/> <l:template name="colophon" text="%t"/> <l:template name="dedication" text="%t"/> -<l:template name="equation" text=" معادله %n. %t"/> -<l:template name="example" text=" مثال %n. %t"/> -<l:template name="figure" text=" شكل %n. %t"/> +<l:template name="equation" text="
 معادله %n. %t"/> +<l:template name="example" text="
 مثال %n. %t"/> +<l:template name="figure" text="
 شكل %n. %t"/> <l:template name="foil" text="%t"/> <l:template name="foilgroup" text="%t"/> <l:template name="formalpara" text="%t"/> @@ -307,13 +306,13 @@ <l:template name="msgsub" text="%t"/> <l:template name="note" text="%t"/> <l:template name="orderedlist" text="%t"/> -<l:template name="part" text=" بخش %n. %t"/> +<l:template name="part" text="
 بخش %n. %t"/> <l:template name="partintro" text="%t"/> <l:template name="preface" text="%t"/> <l:template name="procedure" text="%t"/> -<l:template name="procedure.formal" text=" رويه %n. %t"/> +<l:template name="procedure.formal" text="
 رويه %n. %t"/> <l:template name="productionset" text="%t"/> -<l:template name="productionset.formal" text=" توليد %n"/> +<l:template name="productionset.formal" text="
 توليد %n"/> <l:template name="qandadiv" text="%t"/> <l:template name="qandaentry" text="%t"/> <l:template name="qandaset" text="%t"/> @@ -332,7 +331,7 @@ <l:template name="setindex" text="%t"/> <l:template name="sidebar" text="%t"/> <l:template name="step" text="%t"/> -<l:template name="table" text=" جدول %n. %t"/> +<l:template name="table" text="
 جدول %n. %t"/> <l:template name="task" text="%t"/> <l:template name="tasksummary" text="%t" lang="en"/> <l:template name="taskprerequisites" text="%t" lang="en"/> @@ -360,11 +359,11 @@ <l:template name="drama" text="%t" lang="en"/> <l:template name="poetry" text="%t" lang="en"/> </l:context> -<l:context name="title-numbered"><l:template name="appendix" text=" پيوست %n. %t"/> +<l:context name="title-numbered"><l:template name="appendix" text="
 پيوست %n. %t"/> <l:template name="article/appendix" text="%n. %t"/> <l:template name="bridgehead" text="%n. %t"/> -<l:template name="chapter" text=" فصل %n. %t"/> -<l:template name="part" text=" بخش %n. %t"/> +<l:template name="chapter" text="
 فصل %n. %t"/> +<l:template name="part" text="
 بخش %n. %t"/> <l:template name="sect1" text="%n. %t"/> <l:template name="sect2" text="%n. %t"/> <l:template name="sect3" text="%n. %t"/> @@ -420,7 +419,7 @@ </l:context> <l:context name="xref"><l:template name="abstract" text="%t"/> <l:template name="acknowledgements" text="%t" lang="en"/> -<l:template name="answer" text=" ج: %n"/> +<l:template name="answer" text="
 ج: %n"/> <l:template name="appendix" text="%t"/> <l:template name="article" text="%t"/> <l:template name="authorblurb" text="%t"/> @@ -465,9 +464,9 @@ <l:template name="procedure" text="%t"/> <l:template name="productionset" text="%t"/> <l:template name="qandadiv" text="%t"/> -<l:template name="qandaentry" text=" :پرسش %n"/> +<l:template name="qandaentry" text="
 :پرسش %n"/> <l:template name="qandaset" text="%t"/> -<l:template name="question" text=" :پرسش %n"/> +<l:template name="question" text="
 :پرسش %n"/> <l:template name="reference" text="%t"/> <l:template name="refsynopsisdiv" text="%t"/> <l:template name="screenshot" text="%t" lang="en"/> @@ -494,74 +493,74 @@ <l:template name="dialogue" text="%t" lang="en"/> <l:template name="drama" text="%t" lang="en"/> <l:template name="poetry" text="%t" lang="en"/> -<l:template name="bridgehead" text=" بخشی بنام “%t” "/> -<l:template name="refsection" text=" بخشی بنام “%t” "/> -<l:template name="refsect1" text=" بخشی بنام “%t” "/> -<l:template name="refsect2" text=" بخشی بنام “%t” "/> -<l:template name="refsect3" text=" بخشی بنام “%t” "/> -<l:template name="sect1" text=" بخشی بنام “%t” "/> -<l:template name="sect2" text=" بخشی بنام “%t” "/> -<l:template name="sect3" text=" بخشی بنام “%t” "/> -<l:template name="sect4" text=" بخشی بنام “%t” "/> -<l:template name="sect5" text=" بخشی بنام “%t” "/> -<l:template name="section" text=" بخشی بنام “%t” "/> -<l:template name="simplesect" text=" بخشی بنام “%t” "/> +<l:template name="bridgehead" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="refsection" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="refsect1" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="refsect2" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="refsect3" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="sect1" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="sect2" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="sect3" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="sect4" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="sect5" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="section" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="simplesect" text="
 بخشی بنام
 “%t”
 "/> </l:context> -<l:context name="xref-number"><l:template name="answer" text=" ج: %n"/> -<l:template name="appendix" text=" پيوست %n"/> -<l:template name="bridgehead" text=" قسمت %n"/> -<l:template name="chapter" text=" فصل %n"/> -<l:template name="equation" text=" معادله %n"/> -<l:template name="example" text=" مثال %n"/> -<l:template name="figure" text=" شكل %n"/> -<l:template name="part" text=" بخش %n"/> -<l:template name="procedure" text=" رويه %n"/> -<l:template name="productionset" text=" توليد %n"/> -<l:template name="qandadiv" text=" پرسش و پاسخ %n"/> -<l:template name="qandaentry" text=" :پرسش %n"/> -<l:template name="question" text=" :پرسش %n"/> -<l:template name="sect1" text=" قسمت %n"/> -<l:template name="sect2" text=" قسمت %n"/> -<l:template name="sect3" text=" قسمت %n"/> -<l:template name="sect4" text=" قسمت %n"/> -<l:template name="sect5" text=" قسمت %n"/> -<l:template name="section" text=" قسمت %n"/> -<l:template name="table" text=" جدول %n"/> +<l:context name="xref-number"><l:template name="answer" text="
 ج: %n"/> +<l:template name="appendix" text="
 پيوست %n"/> +<l:template name="bridgehead" text="
 قسمت %n"/> +<l:template name="chapter" text="
 فصل %n"/> +<l:template name="equation" text="
 معادله %n"/> +<l:template name="example" text="
 مثال %n"/> +<l:template name="figure" text="
 شكل %n"/> +<l:template name="part" text="
 بخش %n"/> +<l:template name="procedure" text="
 رويه %n"/> +<l:template name="productionset" text="
 توليد %n"/> +<l:template name="qandadiv" text="
 پرسش و پاسخ %n"/> +<l:template name="qandaentry" text="
 :پرسش %n"/> +<l:template name="question" text="
 :پرسش %n"/> +<l:template name="sect1" text="
 قسمت %n"/> +<l:template name="sect2" text="
 قسمت %n"/> +<l:template name="sect3" text="
 قسمت %n"/> +<l:template name="sect4" text="
 قسمت %n"/> +<l:template name="sect5" text="
 قسمت %n"/> +<l:template name="section" text="
 قسمت %n"/> +<l:template name="table" text="
 جدول %n"/> </l:context> -<l:context name="xref-number-and-title"><l:template name="appendix" text=" پيوست %n, %t"/> -<l:template name="bridgehead" text=" قسمت %n, “%t” "/> -<l:template name="chapter" text=" فصل %n, %t"/> -<l:template name="equation" text=" معادله %n, “%t” "/> -<l:template name="example" text=" مثال %n, “%t” "/> -<l:template name="figure" text=" شكل %n, “%t” "/> -<l:template name="part" text=" بخش %n, “%t” "/> -<l:template name="procedure" text=" رويه %n, “%t” "/> -<l:template name="productionset" text=" توليد %n, “%t” "/> -<l:template name="qandadiv" text=" پرسش و پاسخ %n, “%t” "/> -<l:template name="refsect1" text=" بخشی بنام “%t” "/> -<l:template name="refsect2" text=" بخشی بنام “%t” "/> -<l:template name="refsect3" text=" بخشی بنام “%t” "/> -<l:template name="refsection" text=" بخشی بنام “%t” "/> -<l:template name="sect1" text=" قسمت %n, “%t” "/> -<l:template name="sect2" text=" قسمت %n, “%t” "/> -<l:template name="sect3" text=" قسمت %n, “%t” "/> -<l:template name="sect4" text=" قسمت %n, “%t” "/> -<l:template name="sect5" text=" قسمت %n, “%t” "/> -<l:template name="section" text=" قسمت %n, “%t” "/> -<l:template name="simplesect" text=" بخشی بنام “%t” "/> -<l:template name="table" text=" جدول %n, “%t” "/> +<l:context name="xref-number-and-title"><l:template name="appendix" text="
 پيوست %n, %t"/> +<l:template name="bridgehead" text="
 قسمت %n, “%t”
 "/> +<l:template name="chapter" text="
 فصل %n, %t"/> +<l:template name="equation" text="
 معادله %n, “%t”
 "/> +<l:template name="example" text="
 مثال %n, “%t”
 "/> +<l:template name="figure" text="
 شكل %n, “%t”
 "/> +<l:template name="part" text="
 بخش %n, “%t”
 "/> +<l:template name="procedure" text="
 رويه %n, “%t”
 "/> +<l:template name="productionset" text="
 توليد %n, “%t”
 "/> +<l:template name="qandadiv" text="
 پرسش و پاسخ %n, “%t”
 "/> +<l:template name="refsect1" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="refsect2" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="refsect3" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="refsection" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="sect1" text="
 قسمت %n, “%t”
 "/> +<l:template name="sect2" text="
 قسمت %n, “%t”
 "/> +<l:template name="sect3" text="
 قسمت %n, “%t”
 "/> +<l:template name="sect4" text="
 قسمت %n, “%t”
 "/> +<l:template name="sect5" text="
 قسمت %n, “%t”
 "/> +<l:template name="section" text="
 قسمت %n, “%t”
 "/> +<l:template name="simplesect" text="
 بخشی بنام
 “%t”
 "/> +<l:template name="table" text="
 جدول %n, “%t”
 "/> </l:context> -<l:context name="authorgroup"><l:template name="sep" text=" ، "/> -<l:template name="sep2" text=" و "/> -<l:template name="seplast" text=" ، و "/> +<l:context name="authorgroup"><l:template name="sep" text="
 ،
 "/> +<l:template name="sep2" text="
 و
 "/> +<l:template name="seplast" text="
 ،
 و
 "/> </l:context> <l:context name="glossary"><l:template name="see" text=" %t ببیند."/> <l:template name="seealso" text="%t همچنین ببیند."/> <l:template name="seealso-separator" text=", "/> </l:context> -<l:context name="msgset"><l:template name="MsgAud" text=" شنودگان: "/> -<l:template name="MsgLevel" text=" سطح پیام: "/> -<l:template name="MsgOrig" text=" اصل: "/> +<l:context name="msgset"><l:template name="MsgAud" text="
 شنودگان: "/> +<l:template name="MsgLevel" text="
 سطح پیام: "/> +<l:template name="MsgOrig" text="
 اصل: "/> </l:context> <l:context name="datetime"><l:template name="format" text="m/d/Y"/> </l:context> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/fi.xml b/common/fi.xml index 62ef6ad..b0f208a 100644 --- a/common/fi.xml +++ b/common/fi.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fi" english-language-name="Finnish"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fi" english-language-name="Finnish"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -727,4 +726,4 @@ <l:l i="31">Ö</l:l> <l:l i="31">ö</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/fr.xml b/common/fr.xml index 9c973e7..bb8da6d 100644 --- a/common/fr.xml +++ b/common/fr.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fr" english-language-name="French"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="fr" english-language-name="French"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -747,4 +746,4 @@ <l:l i="26">Z</l:l> <l:l i="26">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ga.xml b/common/ga.xml index 0184ddc..6e72331 100644 --- a/common/ga.xml +++ b/common/ga.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ga" english-language-name="Irish"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ga" english-language-name="Irish"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/gentext.xsl b/common/gentext.xsl index 65fe480..38dc46e 100644 --- a/common/gentext.xsl +++ b/common/gentext.xsl @@ -1,15 +1,14 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + exclude-result-prefixes="doc d" version='1.0'> <!-- ******************************************************************** - $Id: gentext.xsl 9790 2013-08-28 22:55:38Z bobstayton $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -26,7 +25,7 @@ </xsl:call-template> </xsl:template> -<xsl:template match="chapter" mode="object.title.template"> +<xsl:template match="d:chapter" mode="object.title.template"> <xsl:choose> <xsl:when test="string($chapter.autolabel) != 0"> <xsl:call-template name="gentext.template"> @@ -47,7 +46,7 @@ </xsl:choose> </xsl:template> -<xsl:template match="appendix" mode="object.title.template"> +<xsl:template match="d:appendix" mode="object.title.template"> <xsl:choose> <xsl:when test="string($appendix.autolabel) != 0"> <xsl:call-template name="gentext.template"> @@ -68,7 +67,7 @@ </xsl:choose> </xsl:template> -<xsl:template match="part" mode="object.title.template"> +<xsl:template match="d:part" mode="object.title.template"> <xsl:choose> <xsl:when test="string($part.autolabel) != 0"> <xsl:call-template name="gentext.template"> @@ -89,8 +88,8 @@ </xsl:choose> </xsl:template> -<xsl:template match="section|sect1|sect2|sect3|sect4|sect5|simplesect - |bridgehead|topic" +<xsl:template match="d:section|d:sect1|d:sect2|d:sect3|d:sect4|d:sect5|d:simplesect + |d:bridgehead|d:topic" mode="object.title.template"> <xsl:variable name="is.numbered"> <xsl:call-template name="label.this.section"/> @@ -115,8 +114,8 @@ </xsl:choose> </xsl:template> -<xsl:template match="procedure" mode="object.title.template"> - <xsl:variable name="title" select="title|blockinfo/title|info/title"/> +<xsl:template match="d:procedure" mode="object.title.template"> + <xsl:variable name="title" select="d:title|d:blockinfo/d:title|d:info/d:title"/> <xsl:choose> <xsl:when test="$formal.procedures != 0 and $title"> <xsl:call-template name="gentext.template"> @@ -155,35 +154,35 @@ <xsl:value-of select="'0'"/> </xsl:template> -<xsl:template match="section|sect1|sect2|sect3|sect4|sect5" +<xsl:template match="d:section|d:sect1|d:sect2|d:sect3|d:sect4|d:sect5" mode="is.autonumber"> <xsl:call-template name="label.this.section"/> </xsl:template> -<xsl:template match="figure|example|table|equation" mode="is.autonumber"> +<xsl:template match="d:figure|d:example|d:table|d:equation" mode="is.autonumber"> <xsl:value-of select="'1'"/> </xsl:template> -<xsl:template match="appendix" mode="is.autonumber"> +<xsl:template match="d:appendix" mode="is.autonumber"> <xsl:value-of select="$appendix.autolabel"/> </xsl:template> -<xsl:template match="chapter" mode="is.autonumber"> +<xsl:template match="d:chapter" mode="is.autonumber"> <xsl:value-of select="$chapter.autolabel"/> </xsl:template> -<xsl:template match="part" mode="is.autonumber"> +<xsl:template match="d:part" mode="is.autonumber"> <xsl:value-of select="$part.autolabel"/> </xsl:template> -<xsl:template match="preface" mode="is.autonumber"> +<xsl:template match="d:preface" mode="is.autonumber"> <xsl:value-of select="$preface.autolabel"/> </xsl:template> -<xsl:template match="question|answer" mode="is.autonumber"> +<xsl:template match="d:question|d:answer" mode="is.autonumber"> <xsl:choose> <xsl:when test="$qanda.defaultlabel = 'number' - and not(label)"> + and not(d:label)"> <xsl:value-of select="'1'"/> </xsl:when> <xsl:otherwise> @@ -192,16 +191,16 @@ </xsl:choose> </xsl:template> -<xsl:template match="qandadiv" mode="is.autonumber"> +<xsl:template match="d:qandadiv" mode="is.autonumber"> <xsl:value-of select="$qandadiv.autolabel"/> </xsl:template> -<xsl:template match="bridgehead" mode="is.autonumber"> +<xsl:template match="d:bridgehead" mode="is.autonumber"> <!-- bridgeheads are not numbered --> <xsl:text>0</xsl:text> </xsl:template> -<xsl:template match="procedure" mode="is.autonumber"> +<xsl:template match="d:procedure" mode="is.autonumber"> <xsl:value-of select="$formal.procedures"/> </xsl:template> @@ -236,7 +235,7 @@ <xsl:variable name="context"> <xsl:choose> - <xsl:when test="self::equation and not(title) and not(info/title)"> + <xsl:when test="self::d:equation and not(d:title) and not(d:info/d:title)"> <xsl:value-of select="'xref-number'"/> </xsl:when> <xsl:when test="string($autonumber) != 0 @@ -386,11 +385,11 @@ </xsl:call-template> </xsl:template> -<xsl:template match="listitem" mode="object.xref.markup"> +<xsl:template match="d:listitem" mode="object.xref.markup"> <xsl:param name="verbose" select="1"/> <xsl:choose> - <xsl:when test="parent::orderedlist"> + <xsl:when test="parent::d:orderedlist"> <xsl:variable name="template"> <xsl:apply-templates select="." mode="object.xref.template"/> </xsl:variable> @@ -409,7 +408,7 @@ </xsl:choose> </xsl:template> -<xsl:template match="question" mode="object.xref.markup"> +<xsl:template match="d:question" mode="object.xref.markup"> <xsl:param name="purpose"/> <xsl:param name="xrefstyle"/> <xsl:param name="referrer"/> @@ -429,7 +428,7 @@ <xsl:variable name="template"> <xsl:choose> <!-- This avoids double Q: Q: in xref when defaultlabel=qanda --> - <xsl:when test="$deflabel = 'qanda' and not(label)">%n</xsl:when> + <xsl:when test="$deflabel = 'qanda' and not(d:label)">%n</xsl:when> <xsl:otherwise> <xsl:apply-templates select="." mode="object.xref.template"> <xsl:with-param name="purpose" select="$purpose"/> @@ -569,7 +568,7 @@ <xsl:choose> <xsl:when test="$referrer"> <xsl:variable name="referent-is-below"> - <xsl:for-each select="preceding::xref"> + <xsl:for-each select="preceding::d:xref"> <xsl:if test="generate-id(.) = generate-id($referrer)">1</xsl:if> </xsl:for-each> </xsl:variable> diff --git a/common/gl.xml b/common/gl.xml index 97aaffe..e18e2be 100644 --- a/common/gl.xml +++ b/common/gl.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="gl" english-language-name="Galician"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="gl" english-language-name="Galician"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/gu.xml b/common/gu.xml index cf94cb6..5ab79ed 100644 --- a/common/gu.xml +++ b/common/gu.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="gu" english-language-name="Gujarati"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="gu" english-language-name="Gujarati"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/he.xml b/common/he.xml index 5530313..35e51ea 100644 --- a/common/he.xml +++ b/common/he.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="he" english-language-name="Hebrew"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="he" english-language-name="Hebrew"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/hi.xml b/common/hi.xml index 9636b7a..47be542 100644 --- a/common/hi.xml +++ b/common/hi.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hi" english-language-name="Hindi"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hi" english-language-name="Hindi"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/hr.xml b/common/hr.xml index d56a573..06efe55 100644 --- a/common/hr.xml +++ b/common/hr.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hr" english-language-name="Croatian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hr" english-language-name="Croatian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -719,4 +718,4 @@ <l:l i="260">Ž</l:l> <l:l i="260">ž</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/hu.xml b/common/hu.xml index 1b7bf44..8dcd565 100644 --- a/common/hu.xml +++ b/common/hu.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hu" english-language-name="Hungarian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="hu" english-language-name="Hungarian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -735,4 +734,4 @@ <l:l i="280">Z</l:l> <l:l i="280">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/id.xml b/common/id.xml index 0b25923..2d7daac 100644 --- a/common/id.xml +++ b/common/id.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="id" english-language-name="Indonesian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="id" english-language-name="Indonesian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/insertfile.xsl b/common/insertfile.xsl index 66bcf41..94bd049 100644 --- a/common/insertfile.xsl +++ b/common/insertfile.xsl @@ -1,14 +1,14 @@ <?xml version='1.0'?> -<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:xi="http://www.w3.org/2001/XInclude" +<xsl:stylesheet exclude-result-prefixes="d" + xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:xi="http://www.w3.org/2001/XInclude" version='1.0'> <!-- ******************************************************************** - $Id: insertfile.xsl 5262 2005-10-12 14:58:42Z xmldoc $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -47,11 +47,11 @@ <!-- ==================================================================== --> -<xsl:template match="textobject[child::textdata[@entityref|@fileref]]"> - <xsl:apply-templates select="textdata"/> +<xsl:template match="d:textobject[child::d:textdata[@entityref|@fileref]]"> + <xsl:apply-templates select="d:textdata"/> </xsl:template> -<xsl:template match="textdata[@entityref|@fileref]"> +<xsl:template match="d:textdata[@entityref|@fileref]"> <xsl:variable name="filename"> <xsl:call-template name="get.external.filename"/> </xsl:variable> @@ -71,15 +71,15 @@ <!-- ==================================================================== --> <xsl:template - match="inlinemediaobject - [child::imageobject - [child::imagedata + match="d:inlinemediaobject + [child::d:imageobject + [child::d:imagedata [@format = 'linespecific' and (@entityref|@fileref)]]]"> - <xsl:apply-templates select="imageobject/imagedata"/> + <xsl:apply-templates select="d:imageobject/d:imagedata"/> </xsl:template> -<xsl:template match="imagedata +<xsl:template match="d:imagedata [@format = 'linespecific' and (@entityref|@fileref)]"> <xsl:variable name="filename"> @@ -90,7 +90,7 @@ <!-- ==================================================================== --> -<xsl:template match="inlinegraphic +<xsl:template match="d:inlinegraphic [@format = 'linespecific' and (@entityref|@fileref)]"> <xsl:variable name="filename"> diff --git a/common/is.xml b/common/is.xml index 352ba68..09d86d4 100644 --- a/common/is.xml +++ b/common/is.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="is" english-language-name="Icelandic"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="is" english-language-name="Icelandic"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -729,4 +728,4 @@ <l:l i="320">Ö</l:l> <l:l i="320">ö</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/it.xml b/common/it.xml index f2a9144..714b4db 100644 --- a/common/it.xml +++ b/common/it.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="it" english-language-name="Italian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="it" english-language-name="Italian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ja.xml b/common/ja.xml index 67c5e09..9f93c47 100644 --- a/common/ja.xml +++ b/common/ja.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ja" english-language-name="Japanese"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ja" english-language-name="Japanese"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ka.xml b/common/ka.xml index 81e6a8d..3b43e46 100644 --- a/common/ka.xml +++ b/common/ka.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ka" english-language-name="Georgian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ka" english-language-name="Georgian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -757,4 +756,4 @@ <l:l i="650">ჶ</l:l> <l:l i="660">ჷ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/kn.xml b/common/kn.xml index 25a2be4..e088681 100644 --- a/common/kn.xml +++ b/common/kn.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="kn" english-language-name="Kannada"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="kn" english-language-name="Kannada"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ko.xml b/common/ko.xml index 0f6ac5e..99f3b03 100644 --- a/common/ko.xml +++ b/common/ko.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ko" english-language-name="Korean"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ko" english-language-name="Korean"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ky.xml b/common/ky.xml index 79a9865..860210f 100644 --- a/common/ky.xml +++ b/common/ky.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ky" english-language-name="Kirghiz"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ky" english-language-name="Kirghiz"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -789,4 +788,4 @@ <l:l i="610">Я</l:l> <l:l i="610">я</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/l10n.xsl b/common/l10n.xsl index 50d0ab2..63a1963 100644 --- a/common/l10n.xsl +++ b/common/l10n.xsl @@ -1,15 +1,14 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" - exclude-result-prefixes="l" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" + exclude-result-prefixes="l d" version='1.0'> <!-- ******************************************************************** - $Id: l10n.xsl 9708 2013-01-22 13:41:24Z kosek $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. This file contains localization templates (for internationalization) @@ -594,4 +593,4 @@ </xsl:choose> </xsl:template> -</xsl:stylesheet>
\ No newline at end of file +</xsl:stylesheet> diff --git a/common/la.xml b/common/la.xml index 1efcece..a8ec07e 100644 --- a/common/la.xml +++ b/common/la.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="la" english-language-name="Latin"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="la" english-language-name="Latin"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/labels.xsl b/common/labels.xsl index 0557e81..2f13227 100644 --- a/common/labels.xsl +++ b/common/labels.xsl @@ -1,15 +1,14 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + exclude-result-prefixes="doc d" version='1.0'> <!-- ******************************************************************** - $Id: labels.xsl 9816 2013-09-24 03:35:07Z stilor $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -49,13 +48,13 @@ element label.</para> </xsl:if> </xsl:template> -<xsl:template match="set|book" mode="label.markup"> +<xsl:template match="d:set|d:book" mode="label.markup"> <xsl:if test="@label"> <xsl:value-of select="@label"/> </xsl:if> </xsl:template> -<xsl:template match="part" mode="label.markup"> +<xsl:template match="d:part" mode="label.markup"> <xsl:choose> <xsl:when test="@label"> <xsl:value-of select="@label"/> @@ -66,30 +65,30 @@ element label.</para> <xsl:with-param name="format" select="$part.autolabel"/> </xsl:call-template> </xsl:variable> - <xsl:number from="book" count="part" format="{$format}"/> + <xsl:number from="d:book" count="d:part" format="{$format}"/> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="partintro" mode="label.markup"> +<xsl:template match="d:partintro" mode="label.markup"> <!-- no label --> </xsl:template> -<xsl:template match="preface" mode="label.markup"> +<xsl:template match="d:preface" mode="label.markup"> <xsl:choose> <xsl:when test="@label"> <xsl:value-of select="@label"/> </xsl:when> <xsl:when test="string($preface.autolabel) != 0"> <xsl:if test="$component.label.includes.part.label != 0 and - ancestor::part"> + ancestor::d:part"> <xsl:variable name="part.label"> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="label.markup"/> </xsl:variable> <xsl:if test="$part.label != ''"> <xsl:value-of select="$part.label"/> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="intralabel.punctuation"> <xsl:with-param name="object" select="."/> </xsl:apply-templates> @@ -101,32 +100,32 @@ element label.</para> </xsl:call-template> </xsl:variable> <xsl:choose> - <xsl:when test="$label.from.part != 0 and ancestor::part"> - <xsl:number from="part" count="preface" format="{$format}" level="any"/> + <xsl:when test="$label.from.part != 0 and ancestor::d:part"> + <xsl:number from="d:part" count="d:preface" format="{$format}" level="any"/> </xsl:when> <xsl:otherwise> - <xsl:number from="book" count="preface" format="{$format}" level="any"/> + <xsl:number from="d:book" count="d:preface" format="{$format}" level="any"/> </xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="chapter" mode="label.markup"> +<xsl:template match="d:chapter" mode="label.markup"> <xsl:choose> <xsl:when test="@label"> <xsl:value-of select="@label"/> </xsl:when> <xsl:when test="string($chapter.autolabel) != 0"> <xsl:if test="$component.label.includes.part.label != 0 and - ancestor::part"> + ancestor::d:part"> <xsl:variable name="part.label"> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="label.markup"/> </xsl:variable> <xsl:if test="$part.label != ''"> <xsl:value-of select="$part.label"/> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="intralabel.punctuation"> <xsl:with-param name="object" select="."/> </xsl:apply-templates> @@ -138,32 +137,32 @@ element label.</para> </xsl:call-template> </xsl:variable> <xsl:choose> - <xsl:when test="$label.from.part != 0 and ancestor::part"> - <xsl:number from="part" count="chapter" format="{$format}" level="any"/> + <xsl:when test="$label.from.part != 0 and ancestor::d:part"> + <xsl:number from="d:part" count="d:chapter" format="{$format}" level="any"/> </xsl:when> <xsl:otherwise> - <xsl:number from="book" count="chapter" format="{$format}" level="any"/> + <xsl:number from="d:book" count="d:chapter" format="{$format}" level="any"/> </xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="appendix" mode="label.markup"> +<xsl:template match="d:appendix" mode="label.markup"> <xsl:choose> <xsl:when test="@label"> <xsl:value-of select="@label"/> </xsl:when> <xsl:when test="string($appendix.autolabel) != 0"> <xsl:if test="$component.label.includes.part.label != 0 and - ancestor::part"> + ancestor::d:part"> <xsl:variable name="part.label"> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="label.markup"/> </xsl:variable> <xsl:if test="$part.label != ''"> <xsl:value-of select="$part.label"/> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="intralabel.punctuation"> <xsl:with-param name="object" select="."/> </xsl:apply-templates> @@ -175,45 +174,45 @@ element label.</para> </xsl:call-template> </xsl:variable> <xsl:choose> - <xsl:when test="$label.from.part != 0 and ancestor::part"> - <xsl:number from="part" count="appendix" format="{$format}" level="any"/> + <xsl:when test="$label.from.part != 0 and ancestor::d:part"> + <xsl:number from="d:part" count="d:appendix" format="{$format}" level="any"/> </xsl:when> <xsl:otherwise> - <xsl:number from="book|article" - count="appendix" format="{$format}" level="any"/> + <xsl:number from="d:book|d:article" + count="d:appendix" format="{$format}" level="any"/> </xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="article" mode="label.markup"> +<xsl:template match="d:article" mode="label.markup"> <xsl:if test="@label"> <xsl:value-of select="@label"/> </xsl:if> </xsl:template> -<xsl:template match="dedication|colophon" mode="label.markup"> +<xsl:template match="d:dedication|d:colophon" mode="label.markup"> <xsl:if test="@label"> <xsl:value-of select="@label"/> </xsl:if> </xsl:template> -<xsl:template match="reference" mode="label.markup"> +<xsl:template match="d:reference" mode="label.markup"> <xsl:choose> <xsl:when test="@label"> <xsl:value-of select="@label"/> </xsl:when> <xsl:when test="string($reference.autolabel) != 0"> <xsl:if test="$component.label.includes.part.label != 0 and - ancestor::part"> + ancestor::d:part"> <xsl:variable name="part.label"> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="label.markup"/> </xsl:variable> <xsl:if test="$part.label != ''"> <xsl:value-of select="$part.label"/> - <xsl:apply-templates select="ancestor::part" + <xsl:apply-templates select="ancestor::d:part" mode="intralabel.punctuation"> <xsl:with-param name="object" select="."/> </xsl:apply-templates> @@ -225,24 +224,24 @@ element label.</para> </xsl:call-template> </xsl:variable> <xsl:choose> - <xsl:when test="$label.from.part != 0 and ancestor::part"> - <xsl:number from="part" count="reference" format="{$format}" level="any"/> + <xsl:when test="$label.from.part != 0 and ancestor::d:part"> + <xsl:number from="d:part" count="d:reference" format="{$format}" level="any"/> </xsl:when> <xsl:otherwise> - <xsl:number from="book" count="reference" format="{$format}" level="any"/> + <xsl:number from="d:book" count="d:reference" format="{$format}" level="any"/> </xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="refentry" mode="label.markup"> +<xsl:template match="d:refentry" mode="label.markup"> <xsl:if test="@label"> <xsl:value-of select="@label"/> </xsl:if> </xsl:template> -<xsl:template match="section" mode="label.markup"> +<xsl:template match="d:section" mode="label.markup"> <!-- if this is a nested section, label the parent --> <xsl:if test="local-name(..) = 'section'"> <xsl:variable name="parent.section.label"> @@ -287,7 +286,7 @@ element label.</para> <!-- <xsl:message> - test: <xsl:value-of select="$label"/>, <xsl:number count="section"/> + test: <xsl:value-of select="$label"/>, <xsl:number count="d:section"/> </xsl:message> --> @@ -301,12 +300,12 @@ element label.</para> <xsl:with-param name="format" select="$section.autolabel"/> </xsl:call-template> </xsl:variable> - <xsl:number format="{$format}" count="section"/> + <xsl:number format="{$format}" count="d:section"/> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="sect1" mode="label.markup"> +<xsl:template match="d:sect1" mode="label.markup"> <!-- if the parent is a component, maybe label that too --> <xsl:variable name="parent.is.component"> <xsl:call-template name="is.component"> @@ -345,12 +344,12 @@ element label.</para> </xsl:call-template> </xsl:variable> <xsl:copy-of select="$component.label"/> - <xsl:number format="{$format}" count="sect1"/> + <xsl:number format="{$format}" count="d:sect1"/> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="sect2|sect3|sect4|sect5" mode="label.markup"> +<xsl:template match="d:sect2|d:sect3|d:sect4|d:sect5" mode="label.markup"> <!-- label the parent --> <xsl:variable name="parent.section.label"> <xsl:call-template name="label.this.section"> @@ -380,16 +379,16 @@ element label.</para> </xsl:variable> <xsl:choose> <xsl:when test="local-name(.) = 'sect2'"> - <xsl:number format="{$format}" count="sect2"/> + <xsl:number format="{$format}" count="d:sect2"/> </xsl:when> <xsl:when test="local-name(.) = 'sect3'"> - <xsl:number format="{$format}" count="sect3"/> + <xsl:number format="{$format}" count="d:sect3"/> </xsl:when> <xsl:when test="local-name(.) = 'sect4'"> - <xsl:number format="{$format}" count="sect4"/> + <xsl:number format="{$format}" count="d:sect4"/> </xsl:when> <xsl:when test="local-name(.) = 'sect5'"> - <xsl:number format="{$format}" count="sect5"/> + <xsl:number format="{$format}" count="d:sect5"/> </xsl:when> <xsl:otherwise> <xsl:message>label.markup: this can't happen!</xsl:message> @@ -399,11 +398,11 @@ element label.</para> </xsl:choose> </xsl:template> -<xsl:template match="bridgehead" mode="label.markup"> +<xsl:template match="d:bridgehead" mode="label.markup"> <!-- bridgeheads are not normally numbered --> </xsl:template> -<xsl:template match="refsect1" mode="label.markup"> +<xsl:template match="d:refsect1" mode="label.markup"> <xsl:choose> <xsl:when test="@label"> <xsl:value-of select="@label"/> @@ -414,12 +413,12 @@ element label.</para> <xsl:with-param name="format" select="$section.autolabel"/> </xsl:call-template> </xsl:variable> - <xsl:number count="refsect1" format="{$format}"/> + <xsl:number count="d:refsect1" format="{$format}"/> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="refsect2|refsect3" mode="label.markup"> +<xsl:template match="d:refsect2|d:refsect3" mode="label.markup"> <!-- label the parent --> <xsl:variable name="parent.label"> <xsl:apply-templates select=".." mode="label.markup"/> @@ -443,17 +442,17 @@ element label.</para> </xsl:variable> <xsl:choose> <xsl:when test="local-name(.) = 'refsect2'"> - <xsl:number count="refsect2" format="{$format}"/> + <xsl:number count="d:refsect2" format="{$format}"/> </xsl:when> <xsl:otherwise> - <xsl:number count="refsect3" format="{$format}"/> + <xsl:number count="d:refsect3" format="{$format}"/> </xsl:otherwise> </xsl:choose> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="simplesect" mode="label.markup"> +<xsl:template match="d:simplesect" mode="label.markup"> <!-- if this is a nested section, label the parent --> <xsl:if test="local-name(..) = 'section' or local-name(..) = 'sect1' @@ -509,31 +508,31 @@ element label.</para> <xsl:with-param name="format" select="$section.autolabel"/> </xsl:call-template> </xsl:variable> - <xsl:number format="{$format}" count="simplesect"/> + <xsl:number format="{$format}" count="d:simplesect"/> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="topic" mode="label.markup"> +<xsl:template match="d:topic" mode="label.markup"> <!-- topics are not numbered by default --> </xsl:template> -<xsl:template match="qandadiv" mode="label.markup"> - <xsl:variable name="lparent" select="(ancestor::set - |ancestor::book - |ancestor::chapter - |ancestor::appendix - |ancestor::preface - |ancestor::section - |ancestor::simplesect - |ancestor::sect1 - |ancestor::sect2 - |ancestor::sect3 - |ancestor::sect4 - |ancestor::sect5 - |ancestor::refsect1 - |ancestor::refsect2 - |ancestor::refsect3)[last()]"/> +<xsl:template match="d:qandadiv" mode="label.markup"> + <xsl:variable name="lparent" select="(ancestor::d:set + |ancestor::d:book + |ancestor::d:chapter + |ancestor::d:appendix + |ancestor::d:preface + |ancestor::d:section + |ancestor::d:simplesect + |ancestor::d:sect1 + |ancestor::d:sect2 + |ancestor::d:sect3 + |ancestor::d:sect4 + |ancestor::d:sect5 + |ancestor::d:refsect1 + |ancestor::d:refsect2 + |ancestor::d:refsect3)[last()]"/> <xsl:variable name="lparent.prefix"> <xsl:apply-templates select="$lparent" mode="label.markup"/> @@ -558,27 +557,27 @@ element label.</para> </xsl:call-template> </xsl:variable> <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandadiv" format="{$format}"/> + <xsl:number level="multiple" count="d:qandadiv" format="{$format}"/> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="question|answer" mode="label.markup"> - <xsl:variable name="lparent" select="(ancestor::set - |ancestor::book - |ancestor::chapter - |ancestor::appendix - |ancestor::preface - |ancestor::section - |ancestor::simplesect - |ancestor::sect1 - |ancestor::sect2 - |ancestor::sect3 - |ancestor::sect4 - |ancestor::sect5 - |ancestor::refsect1 - |ancestor::refsect2 - |ancestor::refsect3)[last()]"/> +<xsl:template match="d:question|d:answer" mode="label.markup"> + <xsl:variable name="lparent" select="(ancestor::d:set + |ancestor::d:book + |ancestor::d:chapter + |ancestor::d:appendix + |ancestor::d:preface + |ancestor::d:section + |ancestor::d:simplesect + |ancestor::d:sect1 + |ancestor::d:sect2 + |ancestor::d:sect3 + |ancestor::d:sect4 + |ancestor::d:sect5 + |ancestor::d:refsect1 + |ancestor::d:refsect2 + |ancestor::d:refsect3)[last()]"/> <xsl:variable name="lparent.prefix"> <xsl:apply-templates select="$lparent" mode="label.markup"/> @@ -587,13 +586,13 @@ element label.</para> <xsl:variable name="prefix"> <xsl:if test="$qanda.inherit.numeration != 0"> <xsl:choose> - <xsl:when test="ancestor::qandadiv"> + <xsl:when test="ancestor::d:qandadiv"> <xsl:variable name="div.label"> - <xsl:apply-templates select="ancestor::qandadiv[1]" mode="label.markup"/> + <xsl:apply-templates select="ancestor::d:qandadiv[1]" mode="label.markup"/> </xsl:variable> <xsl:if test="string-length($div.label) != 0"> <xsl:copy-of select="$div.label"/> - <xsl:apply-templates select="ancestor::qandadiv[1]" + <xsl:apply-templates select="ancestor::d:qandadiv[1]" mode="intralabel.punctuation"> <xsl:with-param name="object" select="."/> </xsl:apply-templates> @@ -610,7 +609,7 @@ element label.</para> </xsl:variable> <xsl:variable name="inhlabel" - select="ancestor-or-self::qandaset/@defaultlabel[1]"/> + select="ancestor-or-self::d:qandaset/@defaultlabel[1]"/> <xsl:variable name="deflabel"> <xsl:choose> @@ -623,60 +622,60 @@ element label.</para> </xsl:choose> </xsl:variable> - <xsl:variable name="label" select="label"/> + <xsl:variable name="label" select="d:label"/> <xsl:choose> <xsl:when test="count($label)>0"> <xsl:apply-templates select="$label"/> </xsl:when> - <xsl:when test="$deflabel = 'qanda' and self::question"> + <xsl:when test="$deflabel = 'qanda' and self::d:question"> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Question'"/> </xsl:call-template> </xsl:when> - <xsl:when test="$deflabel = 'qanda' and self::answer"> + <xsl:when test="$deflabel = 'qanda' and self::d:answer"> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Answer'"/> </xsl:call-template> </xsl:when> <xsl:when test="($deflabel = 'qnumber' or - $deflabel = 'qnumberanda') and self::question"> + $deflabel = 'qnumberanda') and self::d:question"> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Question'"/> </xsl:call-template> <xsl:text> </xsl:text> <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandaentry" format="1"/> + <xsl:number level="multiple" count="d:qandaentry" format="1"/> </xsl:when> - <xsl:when test="$deflabel = 'qnumberanda' and self::answer"> + <xsl:when test="$deflabel = 'qnumberanda' and self::d:answer"> <xsl:call-template name="gentext"> <xsl:with-param name="key" select="'Answer'"/> </xsl:call-template> </xsl:when> - <xsl:when test="$deflabel = 'number' and self::question"> + <xsl:when test="$deflabel = 'number' and self::d:question"> <xsl:value-of select="$prefix"/> - <xsl:number level="multiple" count="qandaentry" format="1"/> + <xsl:number level="multiple" count="d:qandaentry" format="1"/> </xsl:when> </xsl:choose> </xsl:template> -<xsl:template match="bibliography|glossary| - qandaset|index|setindex" mode="label.markup"> +<xsl:template match="d:bibliography|d:glossary| + d:qandaset|d:index|d:setindex" mode="label.markup"> <xsl:if test="@label"> <xsl:value-of select="@label"/> </xsl:if> </xsl:template> -<xsl:template match="figure|table|example" mode="label.markup"> +<xsl:template match="d:figure|d:table|d:example" mode="label.markup"> <xsl:variable name="pchap" - select="(ancestor::chapter - |ancestor::appendix - |ancestor::article[ancestor::book])[last()]"/> + select="(ancestor::d:chapter + |ancestor::d:appendix + |ancestor::d:article[ancestor::d:book])[last()]"/> <xsl:variable name="prefix"> <xsl:if test="count($pchap) > 0"> @@ -695,21 +694,21 @@ element label.</para> <xsl:apply-templates select="$pchap" mode="intralabel.punctuation"> <xsl:with-param name="object" select="."/> </xsl:apply-templates> - <xsl:number format="1" from="chapter|appendix" level="any"/> + <xsl:number format="1" from="d:chapter|d:appendix" level="any"/> </xsl:when> <xsl:otherwise> - <xsl:number format="1" from="book|article" level="any"/> + <xsl:number format="1" from="d:book|d:article" level="any"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> -<xsl:template match="procedure" mode="label.markup"> +<xsl:template match="d:procedure" mode="label.markup"> <xsl:variable name="pchap" - select="ancestor::chapter - |ancestor::appendix - |ancestor::article[ancestor::book]"/> + select="ancestor::d:chapter + |ancestor::d:appendix + |ancestor::d:article[ancestor::d:book]"/> <xsl:variable name="prefix"> <xsl:if test="count($pchap) > 0"> @@ -733,23 +732,23 @@ element label.</para> <xsl:with-param name="object" select="."/> </xsl:apply-templates> </xsl:if> - <xsl:number count="procedure[title|blockinfo/title|info/title]" format="1" - from="chapter|appendix" level="any"/> + <xsl:number count="d:procedure[d:title|d:blockinfo/d:title|d:info/d:title]" format="1" + from="d:chapter|d:appendix" level="any"/> </xsl:when> <xsl:otherwise> - <xsl:number count="procedure[title|blockinfo/title|info/title]" format="1" - from="book|article" level="any"/> + <xsl:number count="d:procedure[d:title|d:blockinfo/d:title|d:info/d:title]" format="1" + from="d:book|d:article" level="any"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> -<xsl:template match="equation" mode="label.markup"> +<xsl:template match="d:equation" mode="label.markup"> <xsl:variable name="pchap" - select="ancestor::chapter - |ancestor::appendix - |ancestor::article[ancestor::book]"/> + select="ancestor::d:chapter + |ancestor::d:appendix + |ancestor::d:article[ancestor::d:book]"/> <xsl:variable name="prefix"> <xsl:if test="count($pchap) > 0"> @@ -770,22 +769,22 @@ element label.</para> <xsl:with-param name="object" select="."/> </xsl:apply-templates> </xsl:if> - <xsl:number format="1" count="equation" - from="chapter|appendix" level="any"/> + <xsl:number format="1" count="d:equation" + from="d:chapter|d:appendix" level="any"/> </xsl:when> <xsl:otherwise> - <xsl:number format="1" count="equation" - from="book|article" level="any"/> + <xsl:number format="1" count="d:equation" + from="d:book|d:article" level="any"/> </xsl:otherwise> </xsl:choose> </xsl:otherwise> </xsl:choose> </xsl:template> -<xsl:template match="orderedlist/listitem" mode="label.markup"> +<xsl:template match="d:orderedlist/d:listitem" mode="label.markup"> <xsl:variable name="numeration"> <xsl:call-template name="list.numeration"> - <xsl:with-param name="node" select="parent::orderedlist"/> + <xsl:with-param name="node" select="parent::d:orderedlist"/> </xsl:call-template> </xsl:variable> @@ -814,23 +813,23 @@ element label.</para> <xsl:number value="$item-number" format="{$type}"/> </xsl:template> -<xsl:template match="production" mode="label.markup"> - <xsl:number count="production" level="any"/> +<xsl:template match="d:production" mode="label.markup"> + <xsl:number count="d:production" level="any"/> </xsl:template> -<xsl:template match="abstract" mode="label.markup"> +<xsl:template match="d:abstract" mode="label.markup"> <!-- nop --> </xsl:template> -<xsl:template match="sidebar" mode="label.markup"> +<xsl:template match="d:sidebar" mode="label.markup"> <!-- nop --> </xsl:template> -<xsl:template match="glossdiv|glosslist" mode="label.markup"> +<xsl:template match="d:glossdiv|d:glosslist" mode="label.markup"> <!-- nop --> </xsl:template> -<xsl:template match="glossentry" mode="label.markup"> +<xsl:template match="d:glossentry" mode="label.markup"> <!-- nop --> </xsl:template> @@ -845,7 +844,7 @@ element label.</para> <xsl:choose> <!-- bridgeheads are not numbered --> - <xsl:when test="$section/self::bridgehead">0</xsl:when> + <xsl:when test="$section/self::d:bridgehead">0</xsl:when> <xsl:when test="$level <= $section.autolabel.max.depth"> <xsl:value-of select="$section.autolabel"/> </xsl:when> diff --git a/common/lt.xml b/common/lt.xml index feea885..3024f8c 100644 --- a/common/lt.xml +++ b/common/lt.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="lt" english-language-name="Lithuanian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="lt" english-language-name="Lithuanian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -735,4 +734,4 @@ <l:l i="26">X</l:l> <l:l i="26">x</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/lv.xml b/common/lv.xml index e7a7f5a..4dcc04f 100644 --- a/common/lv.xml +++ b/common/lv.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="lv" english-language-name="Latvian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="lv" english-language-name="Latvian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ml.xml b/common/ml.xml index e4887eb..21aa7c3 100644 --- a/common/ml.xml +++ b/common/ml.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ml" english-language-name="Malayalam"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ml" english-language-name="Malayalam"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/mn.xml b/common/mn.xml index 29f0ed7..a5feeb1 100644 --- a/common/mn.xml +++ b/common/mn.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="mn" english-language-name="Mongolian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="mn" english-language-name="Mongolian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -787,4 +786,4 @@ <l:l i="610">Я</l:l> <l:l i="610">я</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/mr.xml b/common/mr.xml index fb39043..5b99f38 100644 --- a/common/mr.xml +++ b/common/mr.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="mr" english-language-name="Marathi"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="mr" english-language-name="Marathi"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/nb.xml b/common/nb.xml index 59a3767..3595210 100644 --- a/common/nb.xml +++ b/common/nb.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nb" english-language-name="Norwegian Bokmål"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nb" english-language-name="Norwegian Bokmål"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/nds.xml b/common/nds.xml index c38f2d9..adea4df 100644 --- a/common/nds.xml +++ b/common/nds.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nds" english-language-name="Low German"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nds" english-language-name="Low German"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -723,4 +722,4 @@ <l:l i="26">Z</l:l> <l:l i="26">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/nl.xml b/common/nl.xml index 4833681..175185c 100644 --- a/common/nl.xml +++ b/common/nl.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nl" english-language-name="Dutch"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nl" english-language-name="Dutch"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -99,8 +98,8 @@ <l:gentext key="Procedure" text="Procedure"/> <l:gentext key="procedure" text="procedure"/> <l:gentext key="ProductionSet" text="Productie"/> -<l:gentext key="PubDate" text="Publicatie datum"/> -<l:gentext key="pubdate" text="publicatie datum"/> +<l:gentext key="PubDate" text="Publicatiedatum"/> +<l:gentext key="pubdate" text="publicatiedatum"/> <l:gentext key="Published" text="Uitgegeven"/> <l:gentext key="published" text="uitgegeven"/> <l:gentext key="Publisher" text="Uitgever"/> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/nn.xml b/common/nn.xml index 0ad2a0f..1509554 100644 --- a/common/nn.xml +++ b/common/nn.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nn" english-language-name="Norwegian Nynorsk"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="nn" english-language-name="Norwegian Nynorsk"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/olink.xsl b/common/olink.xsl index 653fd1e..786f842 100644 --- a/common/olink.xsl +++ b/common/olink.xsl @@ -3,11 +3,9 @@ version="1.0"> <!-- ******************************************************************** - $Id: olink.xsl 9817 2013-09-25 22:38:32Z stilor $ - ******************************************************************** This file is part of the DocBook XSL Stylesheet distribution. - See ../README or http://docbook.sf.net/ for copyright + See ../README or http://cdn.docbook.org/ for copyright copyright and other information. ******************************************************************** --> diff --git a/common/or.xml b/common/or.xml index 126974d..1124293 100644 --- a/common/or.xml +++ b/common/or.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="or" english-language-name="Oriya"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="or" english-language-name="Oriya"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/pa.xml b/common/pa.xml index 17e77f9..7bde8ba 100644 --- a/common/pa.xml +++ b/common/pa.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pa" english-language-name="Punjabi"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pa" english-language-name="Punjabi"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/pi.xml b/common/pi.xml index 64efdca..aa50d13 100644 --- a/common/pi.xml +++ b/common/pi.xml @@ -1,8 +1,6 @@ -<?xml version="1.0"?> - -<reference><info><title>Common Processing Instruction Reference</title> +<?xml version="1.0" encoding="UTF-8"?> +<reference xmlns:xlink="http://www.w3.org/1999/xlink"><info><title>Common Processing Instruction Reference</title> <releaseinfo role="meta"> - $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $ </releaseinfo> </info> <partintro xml:id="partintro"> @@ -24,7 +22,7 @@ </partintro> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbchoice_choice"> +<refentry xml:id="dbchoice_choice"> <refnamediv> <refname>dbchoice_choice</refname> <refpurpose>Generates a localized choice separator</refpurpose> @@ -77,7 +75,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbtimestamp"> +<refentry xml:id="dbtimestamp"> <refnamediv> <refname>dbtimestamp</refname> <refpurpose>Inserts a date timestamp</refpurpose> @@ -122,7 +120,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="dbtex_delims"> +<refentry xml:id="dbtex_delims"> <refnamediv> <refname>dbtex_delims</refname> <refpurpose>Generates delimiters around embedded TeX equations @@ -165,4 +163,3 @@ </refsect1></refentry> </reference> - diff --git a/common/pi.xsl b/common/pi.xsl index 42aac0d..5178194 100644 --- a/common/pi.xsl +++ b/common/pi.xsl @@ -1,27 +1,25 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" + xmlns:d="http://docbook.org/ns/docbook" xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:date="http://exslt.org/dates-and-times" xmlns:exsl="http://exslt.org/common" xmlns:xlink="http://www.w3.org/1999/xlink" - exclude-result-prefixes="doc date exsl" + exclude-result-prefixes="doc date exsl d" extension-element-prefixes="date exsl" version='1.0'> <!-- ******************************************************************** - $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> <doc:reference xmlns=""><info><title>Common Processing Instruction Reference</title> <releaseinfo role="meta"> - $Id: pi.xsl 8782 2010-07-27 21:15:17Z mzjn $ </releaseinfo> </info> <partintro id="partintro"> diff --git a/common/pl.xml b/common/pl.xml index 7e98c8a..b682423 100644 --- a/common/pl.xml +++ b/common/pl.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pl" english-language-name="Polish"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pl" english-language-name="Polish"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -735,4 +734,4 @@ <l:l i="350">Ż</l:l> <l:l i="350">ż</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/pt.xml b/common/pt.xml index 158ab7a..82dfff4 100644 --- a/common/pt.xml +++ b/common/pt.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt" english-language-name="Portuguese"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt" english-language-name="Portuguese"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/pt_br.xml b/common/pt_br.xml index 686cb01..bf773f0 100644 --- a/common/pt_br.xml +++ b/common/pt_br.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt_br" english-language-name="Portuguese (Brazil)"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="pt_br" english-language-name="Portuguese (Brazil)"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/refentry.xml b/common/refentry.xml index 4741ce0..99d08b7 100644 --- a/common/refentry.xml +++ b/common/refentry.xml @@ -1,10 +1,8 @@ -<?xml version="1.0"?> - -<reference xml:id="refentry"> +<?xml version="1.0" encoding="UTF-8"?> +<reference xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="refentry"> <info> <title>Common » Refentry Metadata Template Reference</title> <releaseinfo role="meta"> - $Id: refentry.xsl 7867 2008-03-07 09:54:25Z xmldoc $ </releaseinfo> </info> @@ -26,7 +24,7 @@ </note> </partintro> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.metadata"> +<refentry xml:id="template.get.refentry.metadata"> <refnamediv> <refname>get.refentry.metadata</refname> <refpurpose>Gathers metadata from a refentry and its ancestors</refpurpose> @@ -167,7 +165,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.title"> +<refentry xml:id="template.get.refentry.title"> <refnamediv> <refname>get.refentry.title</refname> <refpurpose>Gets title metadata for a refentry</refpurpose> @@ -205,7 +203,7 @@ <para>Returns a <tag>title</tag> node.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.section"> +<refentry xml:id="template.get.refentry.section"> <refnamediv> <refname>get.refentry.section</refname> <refpurpose>Gets section metadata for a refentry</refpurpose> @@ -254,7 +252,7 @@ <para>Returns a string representing a section number.</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.date"> +<refentry xml:id="template.get.refentry.date"> <refnamediv> <refname>get.refentry.date</refname> <refpurpose>Gets date metadata for a refentry</refpurpose> @@ -309,7 +307,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.source"> +<refentry xml:id="template.get.refentry.source"> <refnamediv> <refname>get.refentry.source</refname> <refpurpose>Gets source metadata for a refentry</refpurpose> @@ -440,7 +438,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.source.name"> +<refentry xml:id="template.get.refentry.source.name"> <refnamediv> <refname>get.refentry.source.name</refname> <refpurpose>Gets source-name metadata for a refentry</refpurpose> @@ -499,7 +497,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.version"> +<refentry xml:id="template.get.refentry.version"> <refnamediv> <refname>get.refentry.version</refname> <refpurpose>Gets version metadata for a refentry</refpurpose> @@ -558,7 +556,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.manual"> +<refentry xml:id="template.get.refentry.manual"> <refnamediv> <refname>get.refentry.manual</refname> <refpurpose>Gets source metadata for a refentry</refpurpose> @@ -676,7 +674,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.refentry.metadata.prefs"> +<refentry xml:id="template.get.refentry.metadata.prefs"> <refnamediv> <refname>get.refentry.metadata.prefs</refname> <refpurpose>Gets user preferences for refentry metadata gathering</refpurpose> @@ -713,7 +711,7 @@ </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.set.refentry.metadata"> +<refentry xml:id="template.set.refentry.metadata"> <refnamediv> <refname>set.refentry.metadata</refname> <refpurpose>Sets content of a refentry metadata item</refpurpose> @@ -778,4 +776,3 @@ <para>Returns formatted contents of a selected source element.</para> </refsect1></refentry> </reference> - diff --git a/common/refentry.xsl b/common/refentry.xsl index 5a04b60..6fd898f 100644 --- a/common/refentry.xsl +++ b/common/refentry.xsl @@ -1,16 +1,15 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:date="http://exslt.org/dates-and-times" - exclude-result-prefixes="doc date" + exclude-result-prefixes="doc date d" version='1.0'> <!-- ******************************************************************** - $Id: refentry.xsl 7867 2008-03-07 09:54:25Z xmldoc $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -20,7 +19,6 @@ <info> <title>Common » Refentry Metadata Template Reference</title> <releaseinfo role="meta"> - $Id: refentry.xsl 7867 2008-03-07 09:54:25Z xmldoc $ </releaseinfo> </info> <!-- * yes, partintro is a valid child of a reference... --> @@ -204,9 +202,9 @@ <xsl:template name="get.refentry.title"> <xsl:param name="refname"/> <xsl:choose> - <xsl:when test="refmeta/refentrytitle"> + <xsl:when test="d:refmeta/d:refentrytitle"> <xsl:copy> - <xsl:apply-templates select="refmeta/refentrytitle/node()"/> + <xsl:apply-templates select="d:refmeta/d:refentrytitle/node()"/> </xsl:copy> </xsl:when> <xsl:otherwise> @@ -251,8 +249,8 @@ <xsl:param name="refname"/> <xsl:param name="quiet" select="0"/> <xsl:choose> - <xsl:when test="refmeta/manvolnum"> - <xsl:value-of select="refmeta/manvolnum"/> + <xsl:when test="d:refmeta/d:manvolnum"> + <xsl:value-of select="d:refmeta/d:manvolnum"/> </xsl:when> <xsl:otherwise> <xsl:if test="$quiet = 0"> @@ -270,13 +268,13 @@ <xsl:with-param name="source" select="$refname"/> <xsl:with-param name="context-desc">meta manvol</xsl:with-param> <xsl:with-param name="message"> - <xsl:text>see http://docbook.sf.net/el/manvolnum</xsl:text> + <xsl:text>see http://www.docbook.org/tdg5/en/html/manvolnum</xsl:text> </xsl:with-param> </xsl:call-template> </xsl:if> </xsl:if> <xsl:choose> - <xsl:when test=".//funcsynopsis"> + <xsl:when test=".//d:funcsynopsis"> <xsl:if test="$quiet = 0"> <xsl:if test="$refentry.meta.get.quietly = 0"> <xsl:call-template name="log.message"> @@ -355,11 +353,11 @@ <!-- * in *info --> <xsl:choose> <!-- * look for date or pubdate in *info --> - <xsl:when test="$info/date/node() - |$info/pubdate/node()"> + <xsl:when test="$info/d:date/node() + |$info/d:pubdate/node()"> <xsl:apply-templates - select="(($info[date])[last()]/date)[1]| - (($info[pubdate])[last()]/pubdate)[1]"/> + select="(($info[d:date])[last()]/d:date)[1]| + (($info[d:pubdate])[last()]/d:pubdate)[1]"/> </xsl:when> <xsl:otherwise> <!-- * found no Date or Pubdate --> @@ -402,7 +400,7 @@ <!-- * <xsl:with-param name="source" select="$refname"/> --> <!-- * <xsl:with-param name="context-desc">meta date</xsl:with-param> --> <!-- * <xsl:with-param name="message"> --> - <!-- * <xsl:text>see http://docbook.sf.net/el/date</xsl:text> --> + <!-- * <xsl:text>see http://www.docbook.org/tdg5/en/html/date</xsl:text> --> <!-- * </xsl:with-param> --> <!-- * </xsl:call-template> --> <!-- * </xsl:if> --> @@ -690,85 +688,85 @@ <!-- * the source.name profile is empty; so we need to look --> <!-- * for a name to use --> <xsl:choose> - <xsl:when test="refmeta/refmiscinfo[@class = 'source' or @class = 'software']"> + <xsl:when test="d:refmeta/d:refmiscinfo[@class = 'source' or @class = 'software']"> <xsl:apply-templates - select="refmeta/refmiscinfo[@class = 'source' or @class='software'][1]/node()"/> + select="d:refmeta/d:refmiscinfo[@class = 'source' or @class='software'][1]/node()"/> </xsl:when> <xsl:otherwise> <xsl:choose> - <xsl:when test="$info/productname"> + <xsl:when test="$info/d:productname"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[productname])[last()]"/> + select="($info[d:productname])[last()]"/> <xsl:with-param name="contents" - select="(($info[productname])[last()]/productname)[1]"/> + select="(($info[d:productname])[last()]/d:productname)[1]"/> <xsl:with-param name="context">source</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info/corpname"> + <xsl:when test="$info/d:corpname"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[corpname])[last()]"/> + select="($info[d:corpname])[last()]"/> <xsl:with-param name="contents" - select="(($info[corpname])[last()]/corpname)[1]"/> + select="(($info[d:corpname])[last()]/d:corpname)[1]"/> <xsl:with-param name="context">source</xsl:with-param> <xsl:with-param name="preferred">productname</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info/corpcredit"> + <xsl:when test="$info/d:corpcredit"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[corpcredit])[last()]"/> + select="($info[d:corpcredit])[last()]"/> <xsl:with-param name="contents" - select="(($info[corpcredit])[last()]/corpcredit)[1]"/> + select="(($info[d:corpcredit])[last()]/d:corpcredit)[1]"/> <xsl:with-param name="context">source</xsl:with-param> <xsl:with-param name="preferred">productname</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info/corpauthor"> + <xsl:when test="$info/d:corpauthor"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[corpauthor])[last()]"/> + select="($info[d:corpauthor])[last()]"/> <xsl:with-param name="contents" - select="(($info[corpauthor])[last()]/corpauthor)[1]"/> + select="(($info[d:corpauthor])[last()]/d:corpauthor)[1]"/> <xsl:with-param name="context">source</xsl:with-param> <xsl:with-param name="preferred">productname</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info//orgname"> + <xsl:when test="$info//d:orgname"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[//orgname])[last()]"/> + select="($info[//d:orgname])[last()]"/> <xsl:with-param name="contents" - select="(($info[//orgname])[last()]//orgname)[1]"/> + select="(($info[//d:orgname])[last()]//d:orgname)[1]"/> <xsl:with-param name="context">source</xsl:with-param> <xsl:with-param name="preferred">productname</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info//publishername"> + <xsl:when test="$info//d:publishername"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[//publishername])[last()]"/> + select="($info[//d:publishername])[last()]"/> <xsl:with-param name="contents" - select="(($info[//publishername])[last()]//publishername)[1]"/> + select="(($info[//d:publishername])[last()]//d:publishername)[1]"/> <xsl:with-param name="context">source</xsl:with-param> <xsl:with-param name="preferred">productname</xsl:with-param> </xsl:call-template> @@ -795,7 +793,7 @@ <xsl:with-param name="source" select="$refname"/> <xsl:with-param name="context-desc">meta source</xsl:with-param> <xsl:with-param name="message"> - <xsl:text>see http://docbook.sf.net/el/productname</xsl:text> + <xsl:text>see http://www.docbook.org/tdg5/en/html/productname</xsl:text> </xsl:with-param> </xsl:call-template> <xsl:call-template name="log.message"> @@ -811,7 +809,7 @@ <xsl:with-param name="source" select="$refname"/> <xsl:with-param name="context-desc">meta source</xsl:with-param> <xsl:with-param name="message"> - <xsl:text>see http://docbook.sf.net/el/refmiscinfo</xsl:text> + <xsl:text>see http://www.docbook.org/tdg5/en/html/refmiscinfo</xsl:text> </xsl:with-param> </xsl:call-template> </xsl:template> @@ -874,46 +872,46 @@ <!-- * the source.name profile is empty; so we need to look --> <!-- * for a name to use --> <xsl:choose> - <xsl:when test="refmeta/refmiscinfo[@class = 'version']"> + <xsl:when test="d:refmeta/d:refmiscinfo[@class = 'version']"> <xsl:apply-templates - select="refmeta/refmiscinfo[@class = 'version'][1]/node()"/> + select="d:refmeta/d:refmiscinfo[@class = 'version'][1]/node()"/> </xsl:when> <xsl:otherwise> <xsl:choose> - <xsl:when test="$info/productnumber"> + <xsl:when test="$info/d:productnumber"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[productnumber])[last()]"/> + select="($info[d:productnumber])[last()]"/> <xsl:with-param name="contents" - select="(($info[productnumber])[last()]/productnumber)[1]"/> + select="(($info[d:productnumber])[last()]/d:productnumber)[1]"/> <xsl:with-param name="context">version</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info/edition"> + <xsl:when test="$info/d:edition"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[edition])[last()]"/> + select="($info[d:edition])[last()]"/> <xsl:with-param name="contents" - select="(($info[edition])[last()]/edition)[1]"/> + select="(($info[d:edition])[last()]/d:edition)[1]"/> <xsl:with-param name="context">version</xsl:with-param> <xsl:with-param name="preferred">productnumber</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info/releaseinfo"> + <xsl:when test="$info/d:releaseinfo"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[releaseinfo])[last()]"/> + select="($info[d:releaseinfo])[last()]"/> <xsl:with-param name="contents" - select="(($info[releaseinfo])[last()]/releaseinfo)[1]"/> + select="(($info[d:releaseinfo])[last()]/d:releaseinfo)[1]"/> <xsl:with-param name="context">version</xsl:with-param> <xsl:with-param name="preferred">productnumber</xsl:with-param> </xsl:call-template> @@ -940,7 +938,7 @@ <xsl:with-param name="source" select="$refname"/> <xsl:with-param name="context-desc">meta version</xsl:with-param> <xsl:with-param name="message"> - <xsl:text>see http://docbook.sf.net/el/productnumber</xsl:text> + <xsl:text>see http://www.docbook.org/tdg5/en/html/productnumber</xsl:text> </xsl:with-param> </xsl:call-template> <xsl:call-template name="log.message"> @@ -956,7 +954,7 @@ <xsl:with-param name="source" select="$refname"/> <xsl:with-param name="context-desc">meta version</xsl:with-param> <xsl:with-param name="message"> - <xsl:text>see http://docbook.sf.net/el/refmiscinfo</xsl:text> + <xsl:text>see http://www.docbook.org/tdg5/en/html/refmiscinfo</xsl:text> </xsl:with-param> </xsl:call-template> </xsl:template> @@ -1056,9 +1054,9 @@ </xsl:when> <xsl:otherwise> <xsl:choose> - <xsl:when test="refmeta/refmiscinfo[@class = 'manual' or @class = 'sectdesc']"> + <xsl:when test="d:refmeta/d:refmiscinfo[@class = 'manual' or @class = 'sectdesc']"> <xsl:apply-templates - select="refmeta/refmiscinfo[@class = 'manual' or @class = 'sectdesc'][1]/node()"/> + select="d:refmeta/d:refmiscinfo[@class = 'manual' or @class = 'sectdesc'][1]/node()"/> </xsl:when> <xsl:otherwise> <!-- * only in the case of choosing appropriate --> @@ -1066,27 +1064,27 @@ <!-- * (first) matching element instead of the --> <!-- * closest (last) matching one --> <xsl:choose> - <xsl:when test="ancestor::*/title"> + <xsl:when test="ancestor::*/d:title"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="(ancestor::*[title])[1]"/> + select="(ancestor::*[d:title])[1]"/> <xsl:with-param name="contents" - select="(ancestor::*[title])[1]/title"/> + select="(ancestor::*[d:title])[1]/d:title"/> <xsl:with-param name="context">manual</xsl:with-param> </xsl:call-template> </xsl:when> - <xsl:when test="$info/title"> + <xsl:when test="$info/d:title"> <xsl:call-template name="set.refentry.metadata"> <xsl:with-param name="refname" select="$refname"/> <xsl:with-param name="info" - select="($info[title])[1]"/> + select="($info[d:title])[1]"/> <xsl:with-param name="contents" - select="(($info[title])[1]/title)[1]"/> + select="(($info[d:title])[1]/d:title)[1]"/> <xsl:with-param name="context">manual</xsl:with-param> </xsl:call-template> </xsl:when> @@ -1195,7 +1193,7 @@ <xsl:with-param name="source" select="$refname"/> <xsl:with-param name="context-desc">meta manual</xsl:with-param> <xsl:with-param name="message"> - <xsl:text>see http://docbook.sf.net/el/refmiscinfo</xsl:text> + <xsl:text>see http://www.docbook.org/tdg5/en/html/refmiscinfo</xsl:text> </xsl:with-param> </xsl:call-template> </xsl:template> diff --git a/common/ro.xml b/common/ro.xml index c647945..35cc968 100644 --- a/common/ro.xml +++ b/common/ro.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ro" english-language-name="Romanian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ro" english-language-name="Romanian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ru.xml b/common/ru.xml index b465a35..e76c7ac 100644 --- a/common/ru.xml +++ b/common/ru.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ru" english-language-name="Russian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ru" english-language-name="Russian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -783,4 +782,4 @@ <l:l i="580">Я</l:l> <l:l i="580">я</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/sk.xml b/common/sk.xml index cfb5922..927221a 100644 --- a/common/sk.xml +++ b/common/sk.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sk" english-language-name="Slovak"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sk" english-language-name="Slovak"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/sl.xml b/common/sl.xml index 45d25ac..e474582 100644 --- a/common/sl.xml +++ b/common/sl.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sl" english-language-name="Slovenian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sl" english-language-name="Slovenian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/sq.xml b/common/sq.xml index 89bb4b2..92554da 100644 --- a/common/sq.xml +++ b/common/sq.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sq" english-language-name="Albanian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sq" english-language-name="Albanian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/sr.xml b/common/sr.xml index 2e25735..98b26e1 100644 --- a/common/sr.xml +++ b/common/sr.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr" english-language-name="Serbian in Cyrillic script"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr" english-language-name="Serbian in Cyrillic script"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -777,4 +776,4 @@ <l:l i="56">Z</l:l> <l:l i="56">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/sr_Latn.xml b/common/sr_Latn.xml index ba2509e..1f88905 100644 --- a/common/sr_Latn.xml +++ b/common/sr_Latn.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr_latn" english-language-name="Serbian in Latin script"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sr_latn" english-language-name="Serbian in Latin script"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -736,4 +735,4 @@ <l:l i="34">Ž</l:l> <l:l i="34">ž</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/stripns.xsl b/common/stripns.xsl index a1e964d..dba306e 100644 --- a/common/stripns.xsl +++ b/common/stripns.xsl @@ -10,11 +10,9 @@ version='1.0'> <!-- ******************************************************************** - $Id: stripns.xsl 9016 2011-06-07 12:09:34Z nwalsh $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> diff --git a/common/subtitles.xsl b/common/subtitles.xsl index 9fb4ae8..a6390a1 100644 --- a/common/subtitles.xsl +++ b/common/subtitles.xsl @@ -1,15 +1,14 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + exclude-result-prefixes="doc d" version='1.0'> <!-- ******************************************************************** - $Id: subtitles.xsl 9286 2012-04-19 10:10:58Z bobstayton $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -39,137 +38,137 @@ subtitle of the element. </xsl:if> </xsl:template> -<xsl:template match="subtitle" mode="subtitle.markup"> +<xsl:template match="d:subtitle" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> <xsl:apply-templates/> </xsl:template> -<xsl:template match="set" mode="subtitle.markup"> +<xsl:template match="d:set" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(setinfo/subtitle|info/subtitle|subtitle)[1]" + <xsl:apply-templates select="(d:setinfo/d:subtitle|d:info/d:subtitle|d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="book" mode="subtitle.markup"> +<xsl:template match="d:book" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(bookinfo/subtitle|info/subtitle|subtitle)[1]" + <xsl:apply-templates select="(d:bookinfo/d:subtitle|d:info/d:subtitle|d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="part" mode="subtitle.markup"> +<xsl:template match="d:part" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(partinfo/subtitle - |docinfo/subtitle - |info/subtitle - |subtitle)[1]" + <xsl:apply-templates select="(d:partinfo/d:subtitle + |d:docinfo/d:subtitle + |d:info/d:subtitle + |d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="preface|chapter|appendix" mode="subtitle.markup"> +<xsl:template match="d:preface|d:chapter|d:appendix" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(docinfo/subtitle - |info/subtitle - |prefaceinfo/subtitle - |chapterinfo/subtitle - |appendixinfo/subtitle - |subtitle)[1]" + <xsl:apply-templates select="(d:docinfo/d:subtitle + |d:info/d:subtitle + |d:prefaceinfo/d:subtitle + |d:chapterinfo/d:subtitle + |d:appendixinfo/d:subtitle + |d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="article" mode="subtitle.markup"> +<xsl:template match="d:article" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(artheader/subtitle - |articleinfo/subtitle - |info/subtitle - |subtitle)[1]" + <xsl:apply-templates select="(d:artheader/d:subtitle + |d:articleinfo/d:subtitle + |d:info/d:subtitle + |d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="dedication|colophon" mode="subtitle.markup"> +<xsl:template match="d:dedication|d:colophon" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(subtitle|info/subtitle)[1]" + <xsl:apply-templates select="(d:subtitle|d:info/d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="reference" mode="subtitle.markup"> +<xsl:template match="d:reference" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(referenceinfo/subtitle - |docinfo/subtitle - |info/subtitle - |subtitle)[1]" + <xsl:apply-templates select="(d:referenceinfo/d:subtitle + |d:docinfo/d:subtitle + |d:info/d:subtitle + |d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="qandaset" mode="subtitle.markup"> +<xsl:template match="d:qandaset" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(blockinfo/subtitle|info/subtitle)[1]" + <xsl:apply-templates select="(d:blockinfo/d:subtitle|d:info/d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="refentry" mode="subtitle.markup"> +<xsl:template match="d:refentry" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(refentryinfo/subtitle - |info/subtitle - |docinfo/subtitle)[1]" + <xsl:apply-templates select="(d:refentryinfo/d:subtitle + |d:info/d:subtitle + |d:docinfo/d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |topic - |simplesect" +<xsl:template match="d:section + |d:sect1|d:sect2|d:sect3|d:sect4|d:sect5 + |d:refsect1|d:refsect2|d:refsect3 + |d:topic + |d:simplesect" mode="subtitle.markup"> <xsl:param name="allow-anchors" select="'0'"/> <xsl:param name="verbose" select="1"/> - <xsl:apply-templates select="(info/subtitle - |sectioninfo/subtitle - |sect1info/subtitle - |sect2info/subtitle - |sect3info/subtitle - |sect4info/subtitle - |sect5info/subtitle - |refsect1info/subtitle - |refsect2info/subtitle - |refsect3info/subtitle - |subtitle)[1]" + <xsl:apply-templates select="(d:info/d:subtitle + |d:sectioninfo/d:subtitle + |d:sect1info/d:subtitle + |d:sect2info/d:subtitle + |d:sect3info/d:subtitle + |d:sect4info/d:subtitle + |d:sect5info/d:subtitle + |d:refsect1info/d:subtitle + |d:refsect2info/d:subtitle + |d:refsect3info/d:subtitle + |d:subtitle)[1]" mode="subtitle.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> <xsl:with-param name="verbose" select="$verbose"/> diff --git a/common/sv.xml b/common/sv.xml index bf83ec3..6c816b8 100644 --- a/common/sv.xml +++ b/common/sv.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sv" english-language-name="Swedish"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="sv" english-language-name="Swedish"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -99,8 +98,8 @@ <l:gentext key="Procedure" text="Procedur"/> <l:gentext key="procedure" text="Procedur"/> <l:gentext key="ProductionSet" text="Production"/> -<l:gentext key="PubDate" text="Publication Date" lang="en"/> -<l:gentext key="pubdate" text="Publication date" lang="en"/> +<l:gentext key="PubDate" text="Publiceringsdatum"/> +<l:gentext key="pubdate" text="publiceringsdatum"/> <l:gentext key="Published" text="Publicerad"/> <l:gentext key="published" text="Publicerad"/> <l:gentext key="Publisher" text="Publisher" lang="en"/> @@ -721,4 +720,4 @@ <l:l i="29">Ö</l:l> <l:l i="29">ö</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ta.xml b/common/ta.xml index 43e2e47..64e2383 100644 --- a/common/ta.xml +++ b/common/ta.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ta" english-language-name="Tamil"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ta" english-language-name="Tamil"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/table.xsl b/common/table.xsl index aefdb07..d5c46fe 100644 --- a/common/table.xsl +++ b/common/table.xsl @@ -1,15 +1,14 @@ <?xml version="1.0"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" - exclude-result-prefixes="doc" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + exclude-result-prefixes="doc d" version="1.0"> <!-- ******************************************************************** - $Id: table.xsl 8392 2009-04-01 08:47:55Z bobstayton $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -89,11 +88,11 @@ <xsl:when test="$entry/@spanname"> <xsl:variable name="spanname" select="$entry/@spanname"/> <xsl:variable name="spanspec" - select="($entry/ancestor::tgroup/spanspec[@spanname=$spanname] - |$entry/ancestor::entrytbl/spanspec[@spanname=$spanname])[last()]"/> + select="($entry/ancestor::d:tgroup/d:spanspec[@spanname=$spanname] + |$entry/ancestor::d:entrytbl/d:spanspec[@spanname=$spanname])[last()]"/> <xsl:variable name="colspec" - select="($entry/ancestor::tgroup/colspec[@colname=$spanspec/@namest] - |$entry/ancestor::entrytbl/colspec[@colname=$spanspec/@namest])[last()]"/> + select="($entry/ancestor::d:tgroup/d:colspec[@colname=$spanspec/@namest] + |$entry/ancestor::d:entrytbl/d:colspec[@colname=$spanspec/@namest])[last()]"/> <xsl:call-template name="colspec.colnum"> <xsl:with-param name="colspec" select="$colspec"/> </xsl:call-template> @@ -101,8 +100,8 @@ <xsl:when test="$entry/@colname"> <xsl:variable name="colname" select="$entry/@colname"/> <xsl:variable name="colspec" - select="($entry/ancestor::tgroup/colspec[@colname=$colname] - |$entry/ancestor::entrytbl/colspec[@colname=$colname])[last()]"/> + select="($entry/ancestor::d:tgroup/d:colspec[@colname=$colname] + |$entry/ancestor::d:entrytbl/d:colspec[@colname=$colname])[last()]"/> <xsl:call-template name="colspec.colnum"> <xsl:with-param name="colspec" select="$colspec"/> </xsl:call-template> @@ -110,8 +109,8 @@ <xsl:when test="$entry/@namest"> <xsl:variable name="namest" select="$entry/@namest"/> <xsl:variable name="colspec" - select="($entry/ancestor::tgroup/colspec[@colname=$namest] - |$entry/ancestor::entrytbl/colspec[@colname=$namest])[last()]"/> + select="($entry/ancestor::d:tgroup/d:colspec[@colname=$namest] + |$entry/ancestor::d:entrytbl/d:colspec[@colname=$namest])[last()]"/> <xsl:call-template name="colspec.colnum"> <xsl:with-param name="colspec" select="$colspec"/> </xsl:call-template> @@ -152,11 +151,11 @@ or 0 (the empty string)</para> <xsl:when test="$colspec/@colnum"> <xsl:value-of select="$colspec/@colnum"/> </xsl:when> - <xsl:when test="$colspec/preceding-sibling::colspec"> + <xsl:when test="$colspec/preceding-sibling::d:colspec"> <xsl:variable name="prec.colspec.colnum"> <xsl:call-template name="colspec.colnum"> <xsl:with-param name="colspec" - select="$colspec/preceding-sibling::colspec[1]"/> + select="$colspec/preceding-sibling::d:colspec[1]"/> </xsl:call-template> </xsl:variable> <xsl:value-of select="$prec.colspec.colnum + 1"/> @@ -169,8 +168,8 @@ or 0 (the empty string)</para> <xsl:param name="entry" select="."/> <xsl:variable name="spanname" select="$entry/@spanname"/> <xsl:variable name="spanspec" - select="($entry/ancestor::tgroup/spanspec[@spanname=$spanname] - |$entry/ancestor::entrytbl/spanspec[@spanname=$spanname])[last()]"/> + select="($entry/ancestor::d:tgroup/d:spanspec[@spanname=$spanname] + |$entry/ancestor::d:entrytbl/d:spanspec[@spanname=$spanname])[last()]"/> <xsl:variable name="namest"> <xsl:choose> @@ -197,16 +196,16 @@ or 0 (the empty string)</para> <xsl:variable name="scol"> <xsl:call-template name="colspec.colnum"> <xsl:with-param name="colspec" - select="($entry/ancestor::tgroup/colspec[@colname=$namest] - |$entry/ancestor::entrytbl/colspec[@colname=$namest])[last()]"/> + select="($entry/ancestor::d:tgroup/d:colspec[@colname=$namest] + |$entry/ancestor::d:entrytbl/d:colspec[@colname=$namest])[last()]"/> </xsl:call-template> </xsl:variable> <xsl:variable name="ecol"> <xsl:call-template name="colspec.colnum"> <xsl:with-param name="colspec" - select="($entry/ancestor::tgroup/colspec[@colname=$nameend] - |$entry/ancestor::entrytbl/colspec[@colname=$nameend])[last()]"/> + select="($entry/ancestor::d:tgroup/d:colspec[@colname=$nameend] + |$entry/ancestor::d:entrytbl/d:colspec[@colname=$nameend])[last()]"/> </xsl:call-template> </xsl:variable> @@ -249,16 +248,16 @@ or 0 (the empty string)</para> <xsl:template name="inherited.table.attribute"> <xsl:param name="entry" select="."/> - <xsl:param name="row" select="$entry/ancestor-or-self::row[1]"/> + <xsl:param name="row" select="$entry/ancestor-or-self::d:row[1]"/> <xsl:param name="colnum" select="0"/> <xsl:param name="attribute" select="'colsep'"/> - <xsl:variable name="tgroup" select="$row/parent::*/parent::tgroup[1]"/> + <xsl:variable name="tgroup" select="$row/parent::*/parent::d:tgroup[1]"/> <xsl:variable name="tbody" select="$row/parent::*[1]"/> - <xsl:variable name="table" select="($tgroup/ancestor::table - |$tgroup/ancestor::informaltable - |$entry/ancestor::entrytbl)[last()]"/> + <xsl:variable name="table" select="($tgroup/ancestor::d:table + |$tgroup/ancestor::d:informaltable + |$entry/ancestor::d:entrytbl)[last()]"/> <xsl:variable name="entry.value"> <xsl:call-template name="get-attribute"> @@ -278,9 +277,9 @@ or 0 (the empty string)</para> <xsl:if test="$entry/@spanname"> <xsl:variable name="spanname" select="$entry/@spanname"/> <xsl:variable name="spanspec" - select="$tgroup/spanspec[@spanname=$spanname]"/> + select="$tgroup/d:spanspec[@spanname=$spanname]"/> <xsl:variable name="span.colspec" - select="$tgroup/colspec[@colname=$spanspec/@namest]"/> + select="$tgroup/d:colspec[@colname=$spanspec/@namest]"/> <xsl:variable name="spanspec.value"> <xsl:call-template name="get-attribute"> @@ -312,7 +311,7 @@ or 0 (the empty string)</para> <xsl:if test="$entry/@namest"> <xsl:variable name="namest" select="$entry/@namest"/> <xsl:variable name="colspec" - select="$tgroup/colspec[@colname=$namest]"/> + select="$tgroup/d:colspec[@colname=$namest]"/> <xsl:variable name="inner.namest.value"> <xsl:call-template name="get-attribute"> @@ -410,9 +409,9 @@ or 0 (the empty string)</para> <xsl:param name="colnum" select="0"/> <xsl:param name="attribute" select="'colname'"/> <xsl:param name="colspec.ancestor" - select="(ancestor::tgroup|ancestor::entrytbl) + select="(ancestor::d:tgroup|ancestor::d:entrytbl) [position() = last()]"/> - <xsl:param name="colspecs" select="$colspec.ancestor/colspec"/> + <xsl:param name="colspecs" select="$colspec.ancestor/d:colspec"/> <xsl:param name="count" select="1"/> <xsl:choose> @@ -488,12 +487,12 @@ or 0 (the empty string)</para> <xsl:template name="tabstyle"> <xsl:param name="node" select="."/> - <xsl:variable name="tgroup" select="$node/tgroup[1] | - $node/ancestor-or-self::tgroup[1]"/> + <xsl:variable name="tgroup" select="$node/d:tgroup[1] | + $node/ancestor-or-self::d:tgroup[1]"/> <xsl:variable name="table" - select="($node/ancestor-or-self::table | - $node/ancestor-or-self::informaltable)[last()]"/> + select="($node/ancestor-or-self::d:table | + $node/ancestor-or-self::d:informaltable)[last()]"/> <xsl:variable name="tabstyle"> <xsl:choose> diff --git a/common/targets.xsl b/common/targets.xsl index 31e1fe3..aa9430c 100644 --- a/common/targets.xsl +++ b/common/targets.xsl @@ -1,16 +1,15 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:exsl="http://exslt.org/common" - exclude-result-prefixes="doc exsl" + exclude-result-prefixes="doc exsl d" version='1.0'> <!-- ******************************************************************** - $Id: targets.xsl 9286 2012-04-19 10:10:58Z bobstayton $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -210,65 +209,65 @@ document output. </xsl:template> --> -<xsl:template match="set" mode="olink.mode"> +<xsl:template match="d:set" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="book" mode="olink.mode"> +<xsl:template match="d:book" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="preface|chapter|appendix" mode="olink.mode"> +<xsl:template match="d:preface|d:chapter|d:appendix" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="part|reference" mode="olink.mode"> +<xsl:template match="d:part|d:reference" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="article" mode="olink.mode"> +<xsl:template match="d:article" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="topic" mode="olink.mode"> +<xsl:template match="d:topic" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="bibliography|bibliodiv" mode="olink.mode"> +<xsl:template match="d:bibliography|d:bibliodiv" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="biblioentry|bibliomixed" mode="olink.mode"> +<xsl:template match="d:biblioentry|d:bibliomixed" mode="olink.mode"> <xsl:call-template name="obj"/> </xsl:template> -<xsl:template match="refentry" mode="olink.mode"> +<xsl:template match="d:refentry" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="section|sect1|sect2|sect3|sect4|sect5" mode="olink.mode"> +<xsl:template match="d:section|d:sect1|d:sect2|d:sect3|d:sect4|d:sect5" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="refsection|refsect1|refsect2|refsect3" mode="olink.mode"> +<xsl:template match="d:refsection|d:refsect1|d:refsect2|d:refsect3" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> -<xsl:template match="figure|example|table" mode="olink.mode"> +<xsl:template match="d:figure|d:example|d:table" mode="olink.mode"> <xsl:call-template name="obj"/> <xsl:apply-templates mode="olink.mode"/> </xsl:template> -<xsl:template match="equation[title or info/title]" mode="olink.mode"> +<xsl:template match="d:equation[d:title or d:info/d:title]" mode="olink.mode"> <xsl:call-template name="obj"/> </xsl:template> -<xsl:template match="qandaset|qandaentry" mode="olink.mode"> +<xsl:template match="d:qandaset|d:qandaentry" mode="olink.mode"> <xsl:call-template name="div"/> </xsl:template> <!-- handle an glossary collection --> -<xsl:template match="glossary[@role='auto']" mode="olink.mode" priority="2"> +<xsl:template match="d:glossary[@role='auto']" mode="olink.mode" priority="2"> <xsl:variable name="collection" select="document($glossary.collection, .)"/> <xsl:if test="$glossary.collection = ''"> <xsl:message> @@ -298,7 +297,7 @@ document output. </xsl:template> <!-- construct a glossary in memory --> -<xsl:template match="glossary" mode="assemble.auto.glossary"> +<xsl:template match="d:glossary" mode="assemble.auto.glossary"> <xsl:copy> <xsl:copy-of select="@*[not(local-name() = 'role')]"/> <xsl:apply-templates select="node()" mode="assemble.auto.glossary"/> @@ -308,17 +307,17 @@ document output. <xsl:template name="select.glossentries"> <xsl:param name="collection" select="document($glossary.collection, .)"/> - <xsl:param name="terms" select="//glossterm[not(parent::glossdef)]|//firstterm"/> + <xsl:param name="terms" select="//d:glossterm[not(parent::d:glossdef)]|//d:firstterm"/> - <xsl:for-each select="$collection//glossentry"> - <xsl:variable name="cterm" select="glossterm"/> + <xsl:for-each select="$collection//d:glossentry"> + <xsl:variable name="cterm" select="d:glossterm"/> <xsl:if test="$terms[@baseform = $cterm or . = $cterm]"> <xsl:copy-of select="."/> </xsl:if> </xsl:for-each> </xsl:template> -<xsl:template match="glossentry" mode="assemble.auto.glossary"> +<xsl:template match="d:glossentry" mode="assemble.auto.glossary"> <!-- skip the dummy entries --> </xsl:template> diff --git a/common/te.xml b/common/te.xml index 02abb51..9f72239 100644 --- a/common/te.xml +++ b/common/te.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="te" english-language-name="Telugu"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="te" english-language-name="Telugu"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/th.xml b/common/th.xml index 7291303..bd86c8a 100644 --- a/common/th.xml +++ b/common/th.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="th" english-language-name="Thai"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="th" english-language-name="Thai"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/titles.xsl b/common/titles.xsl index cfc74f7..51b1fb0 100644 --- a/common/titles.xsl +++ b/common/titles.xsl @@ -1,16 +1,15 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:xlink="http://www.w3.org/1999/xlink" - exclude-result-prefixes="doc" + exclude-result-prefixes="doc d" version='1.0'> <!-- ******************************************************************** - $Id: titles.xsl 9920 2014-07-23 17:55:51Z bobstayton $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -35,8 +34,8 @@ title of the element. This does not include the label. <xsl:choose> <!-- * FIXME: this should handle other *info elements as well --> <!-- * but this is good enough for now. --> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -78,7 +77,7 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="title" mode="title.markup"> +<xsl:template match="d:title" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> @@ -92,7 +91,7 @@ title of the element. This does not include the label. </xsl:template> <!-- only occurs in HTML Tables! --> -<xsl:template match="caption" mode="title.markup"> +<xsl:template match="d:caption" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> @@ -105,31 +104,31 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="set" mode="title.markup"> +<xsl:template match="d:set" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(setinfo/title|info/title|title)[1]" + <xsl:apply-templates select="(d:setinfo/d:title|d:info/d:title|d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="book" mode="title.markup"> +<xsl:template match="d:book" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(bookinfo/title|info/title|title)[1]" + <xsl:apply-templates select="(d:bookinfo/d:title|d:info/d:title|d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="part" mode="title.markup"> +<xsl:template match="d:part" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(partinfo/title|info/title|docinfo/title|title)[1]" + <xsl:apply-templates select="(d:partinfo/d:title|d:info/d:title|d:docinfo/d:title|d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="preface|chapter|appendix" mode="title.markup"> +<xsl:template match="d:preface|d:chapter|d:appendix" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <!-- @@ -140,22 +139,22 @@ title of the element. This does not include the label. </xsl:message> --> - <xsl:variable name="title" select="(docinfo/title - |info/title - |prefaceinfo/title - |chapterinfo/title - |appendixinfo/title - |title)[1]"/> + <xsl:variable name="title" select="(d:docinfo/d:title + |d:info/d:title + |d:prefaceinfo/d:title + |d:chapterinfo/d:title + |d:appendixinfo/d:title + |d:title)[1]"/> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="dedication" mode="title.markup"> +<xsl:template match="d:dedication" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -167,11 +166,11 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="acknowledgements" mode="title.markup"> +<xsl:template match="d:acknowledgements" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -183,11 +182,11 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="colophon" mode="title.markup"> +<xsl:template match="d:colophon" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -199,33 +198,33 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="article" mode="title.markup"> +<xsl:template match="d:article" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(artheader/title - |articleinfo/title - |info/title - |title)[1]"/> + <xsl:variable name="title" select="(d:artheader/d:title + |d:articleinfo/d:title + |d:info/d:title + |d:title)[1]"/> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="reference" mode="title.markup"> +<xsl:template match="d:reference" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(referenceinfo/title|docinfo/title|info/title|title)[1]" + <xsl:apply-templates select="(d:referenceinfo/d:title|d:docinfo/d:title|d:info/d:title|d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="refentry" mode="title.markup"> +<xsl:template match="d:refentry" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="refmeta" select=".//refmeta"/> - <xsl:variable name="refentrytitle" select="$refmeta//refentrytitle"/> - <xsl:variable name="refnamediv" select=".//refnamediv"/> - <xsl:variable name="refname" select="$refnamediv//refname"/> - <xsl:variable name="refdesc" select="$refnamediv//refdescriptor"/> + <xsl:variable name="refmeta" select=".//d:refmeta"/> + <xsl:variable name="refentrytitle" select="$refmeta//d:refentrytitle"/> + <xsl:variable name="refnamediv" select=".//d:refnamediv"/> + <xsl:variable name="refname" select="$refnamediv//d:refname"/> + <xsl:variable name="refdesc" select="$refnamediv//d:refdescriptor"/> <xsl:variable name="title"> <xsl:choose> @@ -245,7 +244,7 @@ title of the element. This does not include the label. <xsl:copy-of select="$title"/> </xsl:template> -<xsl:template match="refentrytitle|refname|refdescriptor" mode="title.markup"> +<xsl:template match="d:refentrytitle|d:refname|d:refdescriptor" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> <xsl:when test="$allow-anchors != 0"> @@ -257,40 +256,40 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3|refsection - |topic - |simplesect" +<xsl:template match="d:section + |d:sect1|d:sect2|d:sect3|d:sect4|d:sect5 + |d:refsect1|d:refsect2|d:refsect3|d:refsection + |d:topic + |d:simplesect" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(info/title - |sectioninfo/title - |sect1info/title - |sect2info/title - |sect3info/title - |sect4info/title - |sect5info/title - |refsect1info/title - |refsect2info/title - |refsect3info/title - |refsectioninfo/title - |title)[1]"/> + <xsl:variable name="title" select="(d:info/d:title + |d:sectioninfo/d:title + |d:sect1info/d:title + |d:sect2info/d:title + |d:sect3info/d:title + |d:sect4info/d:title + |d:sect5info/d:title + |d:refsect1info/d:title + |d:refsect2info/d:title + |d:refsect3info/d:title + |d:refsectioninfo/d:title + |d:title)[1]"/> <xsl:apply-templates select="$title" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="bridgehead" mode="title.markup"> +<xsl:template match="d:bridgehead" mode="title.markup"> <xsl:apply-templates/> </xsl:template> -<xsl:template match="refsynopsisdiv" mode="title.markup"> +<xsl:template match="d:refsynopsisdiv" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -302,9 +301,9 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="bibliography" mode="title.markup"> +<xsl:template match="d:bibliography" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(bibliographyinfo/title|info/title|title)[1]"/> + <xsl:variable name="title" select="(d:bibliographyinfo/d:title|d:info/d:title|d:title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> @@ -319,9 +318,9 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="glossary" mode="title.markup"> +<xsl:template match="d:glossary" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(glossaryinfo/title|info/title|title)[1]"/> + <xsl:variable name="title" select="(d:glossaryinfo/d:title|d:info/d:title|d:title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> @@ -336,9 +335,9 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="glossdiv" mode="title.markup"> +<xsl:template match="d:glossdiv" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(info/title|title)[1]"/> + <xsl:variable name="title" select="(d:info/d:title|d:title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> @@ -351,14 +350,14 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="glossentry" mode="title.markup"> +<xsl:template match="d:glossentry" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="glossterm" mode="title.markup"> + <xsl:apply-templates select="d:glossterm" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="glossterm|firstterm" mode="title.markup"> +<xsl:template match="d:glossterm|d:firstterm" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> @@ -371,9 +370,9 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="index" mode="title.markup"> +<xsl:template match="d:index" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(indexinfo/title|info/title|title)[1]"/> + <xsl:variable name="title" select="(d:indexinfo/d:title|d:info/d:title|d:title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> @@ -388,9 +387,9 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="setindex" mode="title.markup"> +<xsl:template match="d:setindex" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(setindexinfo/title|info/title|title)[1]"/> + <xsl:variable name="title" select="(d:setindexinfo/d:title|d:info/d:title|d:title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> @@ -405,47 +404,47 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="figure|example|equation" mode="title.markup"> +<xsl:template match="d:figure|d:example|d:equation" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="table" mode="title.markup"> +<xsl:template match="d:table" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(title|info/title|caption)[1]" mode="title.markup"> + <xsl:apply-templates select="(d:title|d:info/d:title|d:caption)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="procedure" mode="title.markup"> +<xsl:template match="d:procedure" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="task" mode="title.markup"> +<xsl:template match="d:task" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="sidebar" mode="title.markup"> +<xsl:template match="d:sidebar" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:apply-templates select="(info/title|sidebarinfo/title|title)[1]" + <xsl:apply-templates select="(d:info/d:title|d:sidebarinfo/d:title|d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:template> -<xsl:template match="abstract" mode="title.markup"> +<xsl:template match="d:abstract" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -457,9 +456,9 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="caution|tip|warning|important|note" mode="title.markup"> +<xsl:template match="d:caution|d:tip|d:warning|d:important|d:note" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(title|info/title)[1]"/> + <xsl:variable name="title" select="(d:title|d:info/d:title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> @@ -482,30 +481,30 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="question" mode="title.markup"> +<xsl:template match="d:question" mode="title.markup"> <!-- questions don't have titles --> <xsl:call-template name="gentext"> <xsl:with-param name="key">question</xsl:with-param> </xsl:call-template> </xsl:template> -<xsl:template match="answer" mode="title.markup"> +<xsl:template match="d:answer" mode="title.markup"> <!-- answers don't have titles --> <xsl:call-template name="gentext"> <xsl:with-param name="key">answer</xsl:with-param> </xsl:call-template> </xsl:template> -<xsl:template match="qandaentry" mode="title.markup"> +<xsl:template match="d:qandaentry" mode="title.markup"> <!-- qandaentrys are represented by the first question in them --> - <xsl:apply-templates select="question" mode="title.markup"/> + <xsl:apply-templates select="d:question" mode="title.markup"/> </xsl:template> -<xsl:template match="qandaset" mode="title.markup"> +<xsl:template match="d:qandaset" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> - <xsl:variable name="title" select="(info/title| - blockinfo/title| - title)[1]"/> + <xsl:variable name="title" select="(d:info/d:title| + d:blockinfo/d:title| + d:title)[1]"/> <xsl:choose> <xsl:when test="$title"> <xsl:apply-templates select="$title" mode="title.markup"> @@ -520,11 +519,11 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="legalnotice" mode="title.markup"> +<xsl:template match="d:legalnotice" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -539,20 +538,20 @@ title of the element. This does not include the label. <!-- ============================================================ --> <!-- titleabbrev is always processed in a mode --> -<xsl:template match="titleabbrev"/> +<xsl:template match="d:titleabbrev"/> <xsl:template match="*" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> <xsl:choose> - <xsl:when test="titleabbrev"> - <xsl:apply-templates select="titleabbrev[1]" mode="title.markup"> + <xsl:when test="d:titleabbrev"> + <xsl:apply-templates select="d:titleabbrev[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> - <xsl:when test="info/titleabbrev"> - <xsl:apply-templates select="info/titleabbrev[1]" mode="title.markup"> + <xsl:when test="d:info/d:titleabbrev"> + <xsl:apply-templates select="d:info/d:titleabbrev[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> @@ -565,19 +564,19 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="book|part|set|preface|chapter|appendix" mode="titleabbrev.markup"> +<xsl:template match="d:book|d:part|d:set|d:preface|d:chapter|d:appendix" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> - <xsl:variable name="titleabbrev" select="(docinfo/titleabbrev - |bookinfo/titleabbrev - |info/titleabbrev - |prefaceinfo/titleabbrev - |setinfo/titleabbrev - |partinfo/titleabbrev - |chapterinfo/titleabbrev - |appendixinfo/titleabbrev - |titleabbrev)[1]"/> + <xsl:variable name="titleabbrev" select="(d:docinfo/d:titleabbrev + |d:bookinfo/d:titleabbrev + |d:info/d:titleabbrev + |d:prefaceinfo/d:titleabbrev + |d:setinfo/d:titleabbrev + |d:partinfo/d:titleabbrev + |d:chapterinfo/d:titleabbrev + |d:appendixinfo/d:titleabbrev + |d:titleabbrev)[1]"/> <xsl:choose> <xsl:when test="$titleabbrev"> @@ -594,14 +593,14 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="article" mode="titleabbrev.markup"> +<xsl:template match="d:article" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> - <xsl:variable name="titleabbrev" select="(artheader/titleabbrev - |articleinfo/titleabbrev - |info/titleabbrev - |titleabbrev)[1]"/> + <xsl:variable name="titleabbrev" select="(d:artheader/d:titleabbrev + |d:articleinfo/d:titleabbrev + |d:info/d:titleabbrev + |d:titleabbrev)[1]"/> <xsl:choose> <xsl:when test="$titleabbrev"> @@ -618,26 +617,26 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="section - |sect1|sect2|sect3|sect4|sect5 - |refsect1|refsect2|refsect3 - |topic - |simplesect" +<xsl:template match="d:section + |d:sect1|d:sect2|d:sect3|d:sect4|d:sect5 + |d:refsect1|d:refsect2|d:refsect3 + |d:topic + |d:simplesect" mode="titleabbrev.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> - <xsl:variable name="titleabbrev" select="(info/titleabbrev - |sectioninfo/titleabbrev - |sect1info/titleabbrev - |sect2info/titleabbrev - |sect3info/titleabbrev - |sect4info/titleabbrev - |sect5info/titleabbrev - |refsect1info/titleabbrev - |refsect2info/titleabbrev - |refsect3info/titleabbrev - |titleabbrev)[1]"/> + <xsl:variable name="titleabbrev" select="(d:info/d:titleabbrev + |d:sectioninfo/d:titleabbrev + |d:sect1info/d:titleabbrev + |d:sect2info/d:titleabbrev + |d:sect3info/d:titleabbrev + |d:sect4info/d:titleabbrev + |d:sect5info/d:titleabbrev + |d:refsect1info/d:titleabbrev + |d:refsect2info/d:titleabbrev + |d:refsect3info/d:titleabbrev + |d:titleabbrev)[1]"/> <xsl:choose> <xsl:when test="$titleabbrev"> @@ -654,7 +653,7 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="titleabbrev" mode="title.markup"> +<xsl:template match="d:titleabbrev" mode="title.markup"> <xsl:param name="allow-anchors" select="0"/> <xsl:choose> @@ -672,14 +671,14 @@ title of the element. This does not include the label. <xsl:template match="*" mode="no.anchor.mode"> <!-- Switch to normal mode if no links --> <xsl:choose> - <xsl:when test="descendant-or-self::footnote or - descendant-or-self::anchor or - descendant-or-self::ulink or - descendant-or-self::link or - descendant-or-self::olink or - descendant-or-self::xref or - descendant-or-self::indexterm or - (ancestor::title and (@id or @xml:id))"> + <xsl:when test="descendant-or-self::d:footnote or + descendant-or-self::d:anchor or + descendant-or-self::d:ulink or + descendant-or-self::d:link or + descendant-or-self::d:olink or + descendant-or-self::d:xref or + descendant-or-self::d:indexterm or + (ancestor::d:title and (@id or @xml:id))"> <xsl:apply-templates mode="no.anchor.mode"/> </xsl:when> @@ -689,15 +688,15 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="footnote" mode="no.anchor.mode"> +<xsl:template match="d:footnote" mode="no.anchor.mode"> <!-- nop, suppressed --> </xsl:template> -<xsl:template match="anchor" mode="no.anchor.mode"> +<xsl:template match="d:anchor" mode="no.anchor.mode"> <!-- nop, suppressed --> </xsl:template> -<xsl:template match="ulink" mode="no.anchor.mode"> +<xsl:template match="d:ulink" mode="no.anchor.mode"> <xsl:param name="url" select="@url"/> <xsl:choose> <xsl:when test="count(child::node())=0"> @@ -709,7 +708,7 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="link" mode="no.anchor.mode"> +<xsl:template match="d:link" mode="no.anchor.mode"> <xsl:choose> <xsl:when test="count(child::node()) > 0"> <!-- If it has content, use it --> @@ -739,15 +738,15 @@ title of the element. This does not include the label. </xsl:choose> </xsl:template> -<xsl:template match="olink" mode="no.anchor.mode"> +<xsl:template match="d:olink" mode="no.anchor.mode"> <xsl:apply-templates/> </xsl:template> -<xsl:template match="indexterm" mode="no.anchor.mode"> +<xsl:template match="d:indexterm" mode="no.anchor.mode"> <!-- nop, suppressed --> </xsl:template> -<xsl:template match="xref" mode="no.anchor.mode"> +<xsl:template match="d:xref" mode="no.anchor.mode"> <xsl:variable name="referrer" select="."/> <xsl:variable name="targets" select="key('id',@linkend)|key('id',substring-after(@xlink:href,'#'))"/> <xsl:variable name="target" select="$targets[1]"/> @@ -832,12 +831,12 @@ title of the element. This does not include the label. <!-- ============================================================ --> -<xsl:template mode="title.markup" match="toc"> +<xsl:template mode="title.markup" match="d:toc"> <xsl:param name="allow-anchors" select="0"/> <xsl:param name="verbose" select="1"/> <xsl:choose> - <xsl:when test="title|info/title"> - <xsl:apply-templates select="(title|info/title)[1]" mode="title.markup"> + <xsl:when test="d:title|d:info/d:title"> + <xsl:apply-templates select="(d:title|d:info/d:title)[1]" mode="title.markup"> <xsl:with-param name="allow-anchors" select="$allow-anchors"/> </xsl:apply-templates> </xsl:when> diff --git a/common/tl.xml b/common/tl.xml index bf37b52..4ba7526 100644 --- a/common/tl.xml +++ b/common/tl.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tl" english-language-name="Tagalog"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tl" english-language-name="Tagalog"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/tr.xml b/common/tr.xml index 12522e8..a1bb893 100644 --- a/common/tr.xml +++ b/common/tr.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tr" english-language-name="Turkish"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="tr" english-language-name="Turkish"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -723,4 +722,4 @@ <l:l i="29">Z</l:l> <l:l i="29">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/uk.xml b/common/uk.xml index ebc1dad..fe0fd63 100644 --- a/common/uk.xml +++ b/common/uk.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="uk" english-language-name="Ukrainian"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="uk" english-language-name="Ukrainian"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -783,4 +782,4 @@ <l:l i="590">Я</l:l> <l:l i="590">я</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/ur.xml b/common/ur.xml index 782a0ba..46a6a3e 100644 --- a/common/ur.xml +++ b/common/ur.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ur" english-language-name="Urdu"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="ur" english-language-name="Urdu"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -719,4 +718,4 @@ <l:l i="360">ی</l:l> <l:l i="370">ے</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/utility.xml b/common/utility.xml index d9cbe3c..c961340 100644 --- a/common/utility.xml +++ b/common/utility.xml @@ -1,10 +1,8 @@ -<?xml version="1.0"?> - -<reference xml:id="utility"> +<?xml version="1.0" encoding="UTF-8"?> +<reference xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="utility"> <info> <title>Common » Utility Template Reference</title> <releaseinfo role="meta"> - $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $ </releaseinfo> </info> @@ -36,7 +34,7 @@ </partintro> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.log.message"> +<refentry xml:id="template.log.message"> <refnamediv> <refname>log.message</refname> <refpurpose>Logs/emits formatted notes and warnings</refpurpose> @@ -199,7 +197,7 @@ <para>Outputs a message (generally, to standard error).</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.get.doc.title"> +<refentry xml:id="template.get.doc.title"> <refnamediv> <refname>get.doc.title</refname> <refpurpose>Gets a title from the current document</refpurpose> @@ -219,7 +217,7 @@ current document .</para> </refsect1></refentry> -<refentry xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="template.pad-string"> +<refentry xml:id="template.pad-string"> <refnamediv> <refname>pad-string</refname> <refpurpose>Right-pads or left-pads a string out to a certain length</refpurpose> @@ -256,4 +254,3 @@ <para>Returns a (padded) string.</para> </refsect1></refentry> </reference> - diff --git a/common/utility.xsl b/common/utility.xsl index 37092b7..83ee041 100644 --- a/common/utility.xsl +++ b/common/utility.xsl @@ -1,18 +1,17 @@ <?xml version='1.0'?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" - xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" + xmlns:d="http://docbook.org/ns/docbook" + xmlns:doc="http://nwalsh.com/xsl/documentation/1.0" xmlns:dyn="http://exslt.org/dynamic" xmlns:saxon="http://icl.com/saxon" xmlns:xlink="http://www.w3.org/1999/xlink" - exclude-result-prefixes="doc dyn saxon" + exclude-result-prefixes="doc dyn saxon d" version='1.0'> <!-- ******************************************************************** - $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $ - ******************************************************************** This file is part of the XSL DocBook Stylesheet distribution. - See ../README or http://docbook.sf.net/release/xsl/current/ for + See ../README or http://cdn.docbook.org/release/xsl/current/ for copyright and other information. ******************************************************************** --> @@ -20,7 +19,6 @@ <info> <title>Common » Utility Template Reference</title> <releaseinfo role="meta"> - $Id: utility.xsl 7101 2007-07-20 15:32:12Z xmldoc $ </releaseinfo> </info> <!-- * yes, partintro is a valid child of a reference... --> diff --git a/common/vi.xml b/common/vi.xml index cf321cf..6eab6ff 100644 --- a/common/vi.xml +++ b/common/vi.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="vi" english-language-name="Vietnamese"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="vi" english-language-name="Vietnamese"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/xh.xml b/common/xh.xml index 612c92b..dfdf92f 100644 --- a/common/xh.xml +++ b/common/xh.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="xh" english-language-name="Xhosa"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="xh" english-language-name="Xhosa"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -1286,4 +1285,4 @@ <l:l i="260">Ẕ</l:l> <l:l i="260">ẕ</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/zh.xml b/common/zh.xml index 0de7a3e..699a3ce 100644 --- a/common/zh.xml +++ b/common/zh.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh" english-language-name="Chinese"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh" english-language-name="Chinese"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="26">Z</l:l> <l:l i="26">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/zh_cn.xml b/common/zh_cn.xml index d74373b..ed1f0dc 100644 --- a/common/zh_cn.xml +++ b/common/zh_cn.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_cn" english-language-name="Chinese Simplified"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_cn" english-language-name="Chinese Simplified"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="26">Z</l:l> <l:l i="26">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file diff --git a/common/zh_tw.xml b/common/zh_tw.xml index bbb957e..3f6004b 100644 --- a/common/zh_tw.xml +++ b/common/zh_tw.xml @@ -1,5 +1,4 @@ -<?xml version="1.0" encoding="utf-8"?> -<l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_tw" english-language-name="Chinese (Taiwan)"> +<?xml version="1.0" encoding="utf-8"?><l:l10n xmlns:l="http://docbook.sourceforge.net/xmlns/l10n/1.0" language="zh_tw" english-language-name="Chinese (Taiwan)"> <!-- * This file is generated automatically. --> <!-- * To submit changes to this file upstream (to the DocBook Project) --> @@ -15,7 +14,7 @@ <!-- ******************************************************************** --> <!-- This file is part of the XSL DocBook Stylesheet distribution. --> -<!-- See ../README or http://docbook.sf.net/release/xsl/current/ for --> +<!-- See ../README or http://cdn.docbook.org/release/xsl/current/ for --> <!-- copyright and other information. --> <!-- ******************************************************************** --> @@ -717,4 +716,4 @@ <l:l i="260">Z</l:l> <l:l i="260">z</l:l> </l:letters> -</l:l10n> +</l:l10n>
\ No newline at end of file |