From 427383b49e9a2d92334a9201ffa1c15956d6bc97 Mon Sep 17 00:00:00 2001 From: Bob Stayton Date: Wed, 29 Jan 2014 00:41:22 +0000 Subject: [PATCH] Put internally generated earmark elements into own namespace to avoid complications with namespace stylesheet builds. No change of function. --- xsl/manpages/endnotes.xsl | 23 ++++++++++++----------- 1 file changed, 12 insertions(+), 11 deletions(-) diff --git a/xsl/manpages/endnotes.xsl b/xsl/manpages/endnotes.xsl index 9a2a433cb..10a157f6c 100644 --- a/xsl/manpages/endnotes.xsl +++ b/xsl/manpages/endnotes.xsl @@ -3,6 +3,7 @@ xmlns:exsl="http://exslt.org/common" xmlns:ng="http://docbook.org/docbook-ng" xmlns:db="http://docbook.org/ns/docbook" + xmlns:ear="http://fake.namespace" xmlns:xlink="http://www.w3.org/1999/xlink" exclude-result-prefixes="db ng exsl xlink" version='1.0'> @@ -91,7 +92,7 @@ - + @@ -147,7 +148,7 @@ and not(ancestor::indexterm) and (generate-id(ancestor::refentry) = generate-id(current()))]/@fileref)]"> - + @@ -165,9 +166,9 @@ - + - + @@ -188,9 +189,9 @@ + generate-id(current()/ancestor::refentry)]/ear:earmark"/> @@ -239,10 +240,10 @@ self::imagedata or self::audiodata or self::videodata"> - + - + @@ -427,8 +428,8 @@ + select="$all.earmark.indexes.in.current.document/ear:earmark.index + [@idref = $current.refentry.id]/ear:earmark"/> @@ -469,7 +470,7 @@ - + .IP -- 2.40.0