]> granicus.if.org Git - docbook-dsssl/commitdiff
Move show-destination="replace" property from template to attribute-set
authorBob Stayton <bobs@sagehill.net>
Sat, 6 Jan 2007 18:32:52 +0000 (18:32 +0000)
committerBob Stayton <bobs@sagehill.net>
Sat, 6 Jan 2007 18:32:52 +0000 (18:32 +0000)
so it can be customized.

xsl/fo/xref.xsl
xsl/params/olink.properties.xml

index d92c9337a58573c28297ac122ed5d792478ad53e..bb62bd5daa012bb7e0863114d744ad4f4b058383 100644 (file)
             </xsl:when>
             <xsl:when test="$axf.extensions != 0">
               <fo:basic-link external-destination="{$href}"
-                             xsl:use-attribute-sets="olink.properties"
-                             show-destination="replace">
+                             xsl:use-attribute-sets="olink.properties">
                 <xsl:copy-of select="$hottext"/>
               </fo:basic-link>
               <xsl:copy-of select="$olink.page.citation"/>
             </xsl:when>
             <xsl:otherwise>
               <fo:basic-link external-destination="{$href}"
-                             xsl:use-attribute-sets="olink.properties"
-                             show-destination="replace">
+                             xsl:use-attribute-sets="olink.properties">
                 <xsl:copy-of select="$hottext"/>
               </fo:basic-link>
               <xsl:copy-of select="$olink.page.citation"/>
index 198401048cddebe96ebf7b6a69e87e9b18b22e51..48aa94572c95a6af54551089ee8567cbbc816d17 100644 (file)
@@ -10,14 +10,15 @@ text of an olink.</refpurpose>
 <refsynopsisdiv>
 <src:fragment id='olink.properties.frag'>
 <xsl:attribute-set name="olink.properties">
+  <xsl:attribute name="show-destination">replace</xsl:attribute>
 </xsl:attribute-set>
 </src:fragment>
 </refsynopsisdiv>
 
 <refsect1><title>Description</title>
 
-<para>This attribute set is used on cross reference text
-from an olink. It is not applied to the
+<para>This attribute set is applied to the <sgmltag>fo:basic-link</sgmltag>
+element of an olink. It is not applied to the
 optional page number or 
 optional title of the external document.</para>