Changeset ad825f2 for stylesheets/xhtml/lfs-mixed.xsl
- Timestamp:
- 02/22/2005 02:27:49 AM (19 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- c6b985cf
- Parents:
- a6922b0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
stylesheets/xhtml/lfs-mixed.xsl
ra6922b0 rad825f2 67 67 </xsl:template> 68 68 69 <!-- Cunstomizing segementedlist --> 70 <xsl:template match="seg"> 71 <xsl:variable name="segnum" select="count(preceding-sibling::seg)+1"/> 72 <xsl:variable name="seglist" select="ancestor::segmentedlist"/> 73 <xsl:variable name="segtitles" select="$seglist/segtitle"/> 74 <!-- Note: segtitle is only going to be the right thing in a well formed 75 SegmentedList. If there are too many Segs or too few SegTitles, 76 you'll get something odd...maybe an error --> 77 <div class="seg"> 78 <strong> 79 <span class="segtitle"> 80 <xsl:apply-templates select="$segtitles[$segnum=position()]" 81 mode="segtitle-in-seg"/> 82 <xsl:text>: </xsl:text> 83 </span> 84 </strong> 85 <span class="seg"> 86 <xsl:apply-templates/> 87 </span> 88 </div> 89 </xsl:template> 90 69 91 <!-- The <code> xhtml tag have look issues in some browsers, like Konqueror and. 70 92 isn't semantically correct (a filename isn't a code fragment) We will use <tt> for now. -->
Note:
See TracChangeset
for help on using the changeset viewer.