]> granicus.if.org Git - docbook-dsssl/commitdiff
Fixed test expression
authorNorman Walsh <ndw@nwalsh.com>
Thu, 13 Oct 2005 15:44:08 +0000 (15:44 +0000)
committerNorman Walsh <ndw@nwalsh.com>
Thu, 13 Oct 2005 15:44:08 +0000 (15:44 +0000)
xsl/common/olink.xsl

index d8ccf84fcdd00c4f2015504ba5460d2e053416f0..cc1bee092102c867c7cdb285e8d0fe2fe616d5a5 100644 (file)
     </xsl:choose>
   </xsl:param>
 
-  <xsl:if test="not(starts-with(normalize-space($xrefstyle),
-                    'select:') != '' 
-                and (contains($xrefstyle, 'page')
-                     or contains($xrefstyle, 'Page')))
+  <xsl:if test="not(starts-with(normalize-space($xrefstyle),'select:')
+                    and (contains($xrefstyle, 'page')
+                         or contains($xrefstyle, 'Page')))
                 and ( $insert.xref.page.number = 'yes' 
                    or $insert.xref.page.number = '1')
                 or local-name($target) = 'para'">