Changeset 25844db for BOOK/stylesheets/clfs-profile.xsl
- Timestamp:
- Apr 23, 2011, 9:13:07 PM (14 years ago)
- Children:
- 73d050d
- Parents:
- 01f0f37
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/stylesheets/clfs-profile.xsl
r01f0f37 r25844db 482 482 </xsl:for-each> 483 483 <!-- End the Short Desc For-Each for Libraries --> 484 484 485 <!-- Begin the Short Desc For-Each for Directories --> 486 <xsl:for-each select="c:directory"> 487 <xsl:text>

 </xsl:text> 488 <xsl:element name="varlistentry"> 489 <xsl:attribute name="id"> 490 <xsl:text>dir</xsl:text> 491 <xsl:value-of select="translate(c:name, '/', '-')" /> 492 </xsl:attribute> 493 494 <!-- Term --> 495 <xsl:text>
 </xsl:text> 496 <xsl:element name="term"> 497 <xsl:element name="filename"> 498 <xsl:attribute name="class"> 499 <xsl:text>directory</xsl:text> 500 </xsl:attribute> 501 <xsl:value-of select="c:name" /> 502 </xsl:element> 503 </xsl:element> 504 <!-- End Term --> 505 506 <!-- List Item --> 507 <xsl:text>
 </xsl:text> 508 <xsl:element name="listitem"> 509 510 <xsl:text>
 </xsl:text> 511 <xsl:element name="para"> 512 <xsl:apply-templates select="c:description/@*|c:description/node()" /> 513 </xsl:element> 514 515 <xsl:text>
 </xsl:text> 516 <xsl:element name="indexterm"> 517 <xsl:attribute name="zone"> 518 <xsl:value-of select="$id" /> 519 <xsl:text> dir</xsl:text> 520 <xsl:value-of select="translate(c:name, '/', '-')" /> 521 </xsl:attribute> 522 <xsl:text>
 </xsl:text> 523 <xsl:element name="primary"> 524 <xsl:attribute name="sortas"> 525 <xsl:text>e-</xsl:text> 526 <xsl:value-of select="c:name" /> 527 </xsl:attribute> 528 <xsl:value-of select="c:name" /> 529 </xsl:element> 530 <xsl:text>
 </xsl:text> 531 </xsl:element> 532 533 <xsl:text>
 </xsl:text> 534 </xsl:element><!-- listitem --> 535 <!-- End List Item --> 536 537 <xsl:text>
 </xsl:text> 538 </xsl:element><!-- varlistentry --> 539 </xsl:for-each> 540 <!-- End the Short Desc For-Each for Directories --> 541 485 542 <xsl:text>

</xsl:text> 486 543 </xsl:element><!-- variablelist -->
Note:
See TracChangeset
for help on using the changeset viewer.