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/\^&|\¬`*.-) (%$£!+=', '')"/>
|
---|
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>
|
---|