Changeset 4fc487d
- Timestamp:
- Apr 23, 2011, 8:47:13 PM (14 years ago)
- Children:
- 1d86c775
- Parents:
- 4f597816
- git-author:
- Joe Ciccone <jciccone@…> (04/23/11 20:24:23)
- git-committer:
- Joe Ciccone <jciccone@…> (04/23/11 20:47:13)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/stylesheets/clfs-profile.xsl
r4f597816 r4fc487d 235 235 <xsl:choose> 236 236 <xsl:when test="string-length(@c:ref) > 0"> 237 <!-- Insert an xref to the actual contents list --> 237 238 <xsl:text> 238 </xsl:text>239 </xsl:text> 239 240 <xsl:element name="title" /> 240 241 <xsl:text> 241 242 242 </xsl:text>243 </xsl:text> 243 244 <xsl:element name="para"> 244 245 <xsl:text>Details on this package are located in </xsl:text> … … 255 256 </xsl:when> 256 257 <xsl:otherwise> 258 <!-- This page gets the contents list --> 257 259 <xsl:attribute name="id"> 258 260 <xsl:value-of select="$id" /> … … 260 262 </xsl:attribute> 261 263 <xsl:text> 262 </xsl:text>264 </xsl:text> 263 265 <xsl:element name="title"> 264 266 <xsl:text>Contents of </xsl:text> … … 268 270 269 271 </xsl:text> 272 <!-- Begin the Summary List --> 270 273 <xsl:element name="segmentedlist"> 271 274 <xsl:if test="count(c:library) > 0"> … … 297 300 <xsl:text> 298 301 </xsl:text> 302 <!-- Begin the seg list for Libraries --> 299 303 <xsl:element name="seg"> 300 304 <xsl:for-each select="c:library"> … … 316 320 <xsl:text> 317 321 </xsl:text> 322 <!-- Begin the seg list for Programs --> 318 323 <xsl:element name="seg"> 319 324 <xsl:for-each select="c:program"> … … 335 340 <xsl:text> 336 341 </xsl:text> 342 <!-- Begin the seg list for Directories --> 337 343 <xsl:element name="seg"> 338 344 <xsl:for-each select="c:directory"> 339 345 <xsl:value-of select="c:name" /> 340 346 <xsl:if test="count(../c:directory) > 1"> 341 <xsl:choose> 342 <xsl:when test="position() < (last() - 1)"> 343 <xsl:text>, </xsl:text> 344 </xsl:when> 345 <xsl:when test="position() = last() - 1"> 346 <xsl:text> and </xsl:text> 347 </xsl:when> 348 </xsl:choose> 347 <xsl:if test="position() < (last() - 1)"> 348 <xsl:text>, </xsl:text> 349 </xsl:if> 350 <xsl:if test="position() = last() - 1"> 351 <xsl:text> and </xsl:text> 352 </xsl:if> 349 353 </xsl:if> 350 354 </xsl:for-each> … … 357 361 </xsl:text> 358 362 </xsl:element> 363 <xsl:text> 364 365 </xsl:text> 366 <!-- Insert Short Desc List Here --> 367 <!-- End of the Summary List --> 359 368 </xsl:otherwise> 360 369 </xsl:choose> 361 370 <xsl:text> 362 363 371 </xsl:text> 364 372 </xsl:element> … … 373 381 374 382 </xsl:template><!-- package-stub --> 383 384 <!-- --> 375 385 376 386 <!-- Apply the profile to the 32bit package -->
Note:
See TracChangeset
for help on using the changeset viewer.