From: Michael Smith Date: Fri, 22 Jun 2007 10:35:45 +0000 (+0000) Subject: Removed all "Do not edit this file" admonitions that get output in X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5010e3f358b02fd423e85f6383b9fc2306a55734;p=docbook-dsssl Removed all "Do not edit this file" admonitions that get output in generated stylesheets; such admonitions have in the past been judged by the free-software police to be at-risk of interpretation as license restrictions. Also, made various updates to work around some funkiness is xsltproc output. --- diff --git a/xsl/common/entities.ent b/xsl/common/entities.ent index eae584b9e..7331a4096 100644 --- a/xsl/common/entities.ent +++ b/xsl/common/entities.ent @@ -21,37 +21,12 @@ - + - + diff --git a/xsl/fo/param.xweb b/xsl/fo/param.xweb index 53c64d3f3..791159e98 100644 --- a/xsl/fo/param.xweb +++ b/xsl/fo/param.xweb @@ -538,7 +538,7 @@ around all these parameters. exclude-result-prefixes="src" version='1.0'> - + - + ]> + select="//indexterm[count(.|key('k-group', k:getIndexGroupKey(⟨, &primary;))[&scope;][1]) = 1 and not(@class = 'endofrange')]"/> - +

diff --git a/xsl/html/autoidx-kosek.xsl b/xsl/html/autoidx-kosek.xsl index db959fe3c..920fefc91 100644 --- a/xsl/html/autoidx-kosek.xsl +++ b/xsl/html/autoidx-kosek.xsl @@ -5,9 +5,7 @@ - + ]> + select="//indexterm[count(.|key('group-code', i:group-index(&primary;))[&scope;][1]) = 1 and not(@class = 'endofrange')]"/>
@@ -109,15 +104,13 @@ - +

- diff --git a/xsl/html/biblio-iso690.xsl b/xsl/html/biblio-iso690.xsl index ea1a4fdca..3a9a455db 100644 --- a/xsl/html/biblio-iso690.xsl +++ b/xsl/html/biblio-iso690.xsl @@ -113,7 +113,7 @@ - + @@ -590,7 +590,7 @@ - + diff --git a/xsl/html/inline.xsl b/xsl/html/inline.xsl index 0e5082509..4edecd137 100644 --- a/xsl/html/inline.xsl +++ b/xsl/html/inline.xsl @@ -1,16 +1,6 @@ + ]> - + - + diff --git a/xsl/roundtrip/param.xweb b/xsl/roundtrip/param.xweb index 0daee334a..bb3948d3d 100644 --- a/xsl/roundtrip/param.xweb +++ b/xsl/roundtrip/param.xweb @@ -44,7 +44,7 @@ exclude-result-prefixes='src' version='1.0'> - + - - - + + + + + diff --git a/xsl/roundtrip/wordml-sections.xsl b/xsl/roundtrip/wordml-sections.xsl index 82bb21334..d9945d169 100644 --- a/xsl/roundtrip/wordml-sections.xsl +++ b/xsl/roundtrip/wordml-sections.xsl @@ -2,12 +2,14 @@ - - + + + + diff --git a/xsl/slides/fo/param.xweb b/xsl/slides/fo/param.xweb index 4cb46d40d..6e3395923 100644 --- a/xsl/slides/fo/param.xweb +++ b/xsl/slides/fo/param.xweb @@ -78,7 +78,7 @@ around all these parameters. - + diff --git a/xsl/slides/html/param.xweb b/xsl/slides/html/param.xweb index d3bdaf5cf..1334fe03d 100644 --- a/xsl/slides/html/param.xweb +++ b/xsl/slides/html/param.xweb @@ -133,7 +133,7 @@ around all these parameters. - + diff --git a/xsl/template/titlepage.xsl b/xsl/template/titlepage.xsl index 1c6648b99..a461e3da7 100644 --- a/xsl/template/titlepage.xsl +++ b/xsl/template/titlepage.xsl @@ -91,8 +91,7 @@ set of templates. This template creates an appropriate This stylesheet was created by - template/titlepage.xsl; - do not edit it by hand. + template/titlepage.xsl diff --git a/xsl/tools/xsl/build/fix-params-ns.xsl b/xsl/tools/xsl/build/fix-params-ns.xsl index 8da96ec30..459e73951 100644 --- a/xsl/tools/xsl/build/fix-params-ns.xsl +++ b/xsl/tools/xsl/build/fix-params-ns.xsl @@ -1,13 +1,16 @@ - + encoding="ASCII" + saxon:character-representation="decimal" + indent="no"/> + @@ -15,7 +18,7 @@ - + diff --git a/xsl/tools/xsl/build/make-elements.xsl b/xsl/tools/xsl/build/make-elements.xsl index f440c41ac..1031d0141 100644 --- a/xsl/tools/xsl/build/make-elements.xsl +++ b/xsl/tools/xsl/build/make-elements.xsl @@ -25,11 +25,10 @@ - * Do not edit this file. - * It was generated automatically by the build. + * This stylesheet is automatically generated. - * Edit the make-elements.xsl file instead. + * Edit the make-elements.xsl file to re-generate this. - * Do not edit this file. - * It was generated automatically by the build. + * This stylesheet was generated automatically. - * Edit the make-xsl-params.xsl file instead. + * Edit the make-xsl-params.xsl file to rebuild this. diff --git a/xsl/website/param.xweb b/xsl/website/param.xweb index f15fbaa12..4cd40671f 100644 --- a/xsl/website/param.xweb +++ b/xsl/website/param.xweb @@ -72,7 +72,7 @@ around all these parameters. - + diff --git a/xsl/xhtml/html2xhtml.xsl b/xsl/xhtml/html2xhtml.xsl index e23e3c7f9..f9e32b61d 100644 --- a/xsl/xhtml/html2xhtml.xsl +++ b/xsl/xhtml/html2xhtml.xsl @@ -1,21 +1,21 @@ - + - This file was created automatically by html2xhtml - - from the HTML stylesheets. Do not edit this file. - + from the HTML stylesheets. -