VirtualBox

source: vbox/trunk/src/libs/dita-ot-1.8.5/plugins/com.sophos.tocjs/xsl/topichead.xsl@ 99507

最後變更 在這個檔案從99507是 98584,由 vboxsync 提交於 2 年 前

Docs: bugref:10302. Setting svn properties of DITA-OT library.

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.6 KB
 
1<!-- NOTE: THIS MODULE IS NO LONGER USED BY TOCJS PROCESSING!!! -->
2<!-- NOTE: THIS MODULE IS NO LONGER USED BY TOCJS PROCESSING!!! -->
3<!--
4 This file is part of the DITA Open Toolkit project hosted on
5 Sourceforge.net. See the accompanying license.txt file for
6 applicable licenses.
7
8 (C) Copyright Shawn McKenzie, 2007. All Rights Reserved.
9 *-->
10<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
11
12 <xsl:template match="*[contains(@class, ' mapgroup-d/topichead ')]">
13 <xsl:param name="parent"/>
14 <xsl:param name="contentwin"/>
15 <!-- <xsl:variable name="self"
16 select="translate(translate(translate(@navtitle, '/', ''), '.', ''), ' ', '')"/>-->
17 <xsl:variable name="apos">'</xsl:variable>
18 <xsl:variable name="self" select="translate(@navtitle, '$apos/\^&amp;|\¬`*.-) (%$£!+=', '')"/>
19
20 <xsl:message>
21
22 ######################## IN TOPICHEAD! parent: <xsl:value-of
23 select="$parent"/> self: <xsl:value-of select="$self"/>
24 </xsl:message>
25
26 <xsl:text>var </xsl:text>
27 <xsl:value-of select="$self"/>
28 <xsl:text> = new YAHOO.widget.TextNode("</xsl:text>
29 <xsl:value-of select="@navtitle"/>
30 <xsl:text>", </xsl:text>
31 <xsl:value-of select="$parent"/>
32 <xsl:text>, false);</xsl:text>
33
34 <xsl:apply-templates>
35 <xsl:with-param name="parent" select="$self"/>
36 <xsl:with-param name="contentwin" select="$contentwin"/>
37 </xsl:apply-templates>
38
39 </xsl:template>
40
41 <!-- var tmpNode = new YAHOO.widget.TextNode("mylabel1", root, false); -->
42
43</xsl:stylesheet>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette