home *** CD-ROM | disk | FTP | other *** search
/ Freelog 116 / FreelogNo116-JuilletSeptembre2013.iso / Musique / amarok / amarok-x86-setup-2.7.0-1.exe / share / apps / ksgmltools2 / customization / kde-nochunk.xsl < prev    next >
Text File  |  2013-04-28  |  2KB  |  68 lines

  1. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  2.         version="1.0">
  3.  
  4. <xsl:import href="kde-chunk-common.xsl"/>
  5. <!-- <xsl:include href="kde-print-navig.xsl"/> -->
  6. <xsl:include href="kde-ttlpg.xsl"/>
  7. <xsl:include href="kde-style.xsl"/>
  8.  
  9. <xsl:variable name="KDE_VERSION">1.13</xsl:variable> 
  10.  
  11. <xsl:param name="using.chunker">0</xsl:param>
  12. <xsl:param name="chunk.first.sections" select="0"/>
  13. <xsl:param name="chunk.sections" select="0"/>
  14. <xsl:param name="chunk.section.depth" select="0"/>
  15.  
  16. <xsl:param name="use.id.as.filename">0</xsl:param>
  17. <xsl:param name="generate.section.toc">0</xsl:param>
  18. <xsl:param name="generate.component.toc">0</xsl:param>
  19. <xsl:param name="use.extensions">0</xsl:param>
  20. <xsl:param name="admon.graphics">0</xsl:param>
  21. <xsl:param name="kde.common">../common/</xsl:param>
  22. <xsl:param name="html.stylesheet" select="concat($kde.common,'kde-web.css')"/>
  23. <xsl:param name="admon.graphics.path"><xsl:value-of select="kde.common"/></xsl:param>
  24. <xsl:param name="callout.graphics.path"><xsl:value-of select="kde.common"/></xsl:param>
  25.  
  26.  
  27. <!-- try with olinks: it nearly works --><!--
  28.   <xsl:template match="olink">
  29.     <a>
  30.       <xsl:attribute name="href">
  31.     <xsl:choose>
  32.       <xsl:when test="@type = 'kde-installation'">
  33.         <xsl:choose>
  34.           <xsl:when test="@linkmode = 'kdems-man'">
  35.         <xsl:value-of select="id(@linkmode)"/>
  36.         <xsl:value-of select="@targetdocent"/>
  37.         <xsl:text>(</xsl:text>
  38.         <xsl:value-of select="@localinfo"/>
  39.         <xsl:text>)</xsl:text>
  40.           </xsl:when>
  41.           <xsl:when test="@linkmode = 'kdems-help'">
  42.         <xsl:value-of select="id(@linkmode)"/>
  43.         <xsl:text>/</xsl:text>
  44.         <xsl:value-of select="@targetdocent"/>
  45. <xsl:variable name="targetdocent" select="@targetdocent"/>
  46. <xsl:value-of select="$targetdocent"/>
  47.           <xsl:if test="@targetdocent">
  48.             <xsl:value-of select="unparsed-entity-uri(string($targetdocent))"/>
  49.           </xsl:if>
  50.                 <xsl:for-each select="document('/home/fouvry/kdeutils/doc/kedit/index.docbook')">
  51.           <xsl:value-of select=".//*[@id=$localinfo]"/>
  52.                 </xsl:for-each>
  53.         <xsl:text>#</xsl:text>
  54.         <xsl:value-of select="@localinfo"/>
  55.           </xsl:when>
  56.         </xsl:choose>
  57.       </xsl:when>
  58.     </xsl:choose>
  59.       </xsl:attribute>
  60.       <xsl:value-of select="."/>
  61.     </a>
  62.   </xsl:template>
  63. -->
  64.  
  65. </xsl:stylesheet>
  66.  
  67.  
  68.