summaryrefslogtreecommitdiff
path: root/docs-xml/xslt
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2023-04-06 15:51:35 +0200
committerAndreas Schneider <asn@cryptomilk.org>2023-04-11 09:06:35 +0000
commit3c96f7d80e5f300aa5f53666a14bc9e02080969e (patch)
treee04dad4ad74d5e97a692642e738d242b0de46a99 /docs-xml/xslt
parent8f18fadd31d2be93234f37eac312cd87759022d0 (diff)
downloadsamba-3c96f7d80e5f300aa5f53666a14bc9e02080969e.tar.gz
docs-xml: Fix spelling
Best reviewed with: `git show --word-diff`. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Diffstat (limited to 'docs-xml/xslt')
-rw-r--r--docs-xml/xslt/docbook2pearson.xsl2
-rw-r--r--docs-xml/xslt/strip-references.xsl2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs-xml/xslt/docbook2pearson.xsl b/docs-xml/xslt/docbook2pearson.xsl
index ebe2a955a27..196941ae718 100644
--- a/docs-xml/xslt/docbook2pearson.xsl
+++ b/docs-xml/xslt/docbook2pearson.xsl
@@ -837,7 +837,7 @@
<xsl:otherwise>
<xsl:if test="$refelem != ''">
<xsl:message>
- <xsl:text>Cant't handle xref to </xsl:text>
+ <xsl:text>Can't handle xref to </xsl:text>
<xsl:value-of select="$refelem"/>
<xsl:text>:</xsl:text>
<xsl:value-of select="@linkend"/>
diff --git a/docs-xml/xslt/strip-references.xsl b/docs-xml/xslt/strip-references.xsl
index 951d4be174c..56b782a2c14 100644
--- a/docs-xml/xslt/strip-references.xsl
+++ b/docs-xml/xslt/strip-references.xsl
@@ -1,5 +1,5 @@
<?xml version='1.0'?>
-<!-- Removes particular (unuseful for the book) elements from references -->
+<!-- Removes particular (useless for the book) elements from references -->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
version="1.1">
<xsl:template match="reference/refentry/refsect1[title='VERSION' or title='AUTHOR']"/>