r3881 - jhalfs/trunk/BLFS/xsl

pierre at higgs.linuxfromscratch.org pierre at higgs.linuxfromscratch.org
Sat Dec 3 10:22:50 PST 2016


Author: pierre
Date: Sat Dec  3 10:22:50 2016
New Revision: 3881

Log:
Fix dependencies when there is
a <phrase> tag above the <xref>

Modified:
   jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl

Modified: jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl
==============================================================================
--- jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl	Thu Nov 24 08:52:03 2016	(r3880)
+++ jhalfs/trunk/BLFS/xsl/gen_pkg_list.xsl	Sat Dec  3 10:22:50 2016	(r3881)
@@ -247,7 +247,7 @@
   <xsl:template match="para" mode="dependency">
     <xsl:variable name="status" select="./@role"/>
 <!-- First internal dependencies -->
-    <xsl:for-each select="./xref">
+    <xsl:for-each select=".//xref">
       <xsl:choose>
 <!-- Avoid depending of myself -->
         <xsl:when test="ancestor::*[@id=current()/@linkend]"/>
@@ -278,7 +278,7 @@
       </xsl:choose>
     </xsl:for-each>
 <!-- then external dependencies -->
-    <xsl:for-each select="./ulink">
+    <xsl:for-each select=".//ulink">
       <xsl:text>
             </xsl:text>
       <xsl:element name="dependency">


More information about the alfs-log mailing list