|
7 | 7 | <xsl:template match="map"> |
8 | 8 | <xsl:choose> |
9 | 9 | <xsl:when test="normalize-space(.) != '' or ./@* != ''"> |
10 | | - <xsl:for-each select="key" > |
| 10 | + <xsl:for-each select="key" > |
11 | 11 | <xsl:choose> |
12 | 12 | <xsl:when test="following-sibling::*[1]//value"> |
13 | 13 | <div class="toggle"> |
|
43 | 43 | <xsl:template match="set"> |
44 | 44 | <xsl:choose> |
45 | 45 | <xsl:when test="normalize-space(.) != '' or ./@* != ''"> |
46 | | - <xsl:for-each select="value" > |
| 46 | + <xsl:for-each select="value" > |
47 | 47 | <div class="nontoggle"> |
48 | | - <xsl:apply-templates select="." /> |
| 48 | + <xsl:apply-templates select="." /> |
49 | 49 | </div> |
50 | 50 | </xsl:for-each> |
51 | 51 | </xsl:when> |
|
60 | 60 | <xsl:when test="value//value"> |
61 | 61 | <div class="toggle"> |
62 | 62 | <span> |
63 | | - <xsl:value-of select="@name" /> |
| 63 | + <xsl:value-of select="@name" /> |
64 | 64 | </span> → |
65 | 65 | <div> |
66 | | - <xsl:apply-templates select="value" /> |
| 66 | + <xsl:apply-templates select="value" /> |
67 | 67 | </div> |
68 | 68 | </div> |
69 | 69 | </xsl:when> |
70 | 70 | <xsl:otherwise> |
71 | 71 | <div class="nontoggle"> |
72 | 72 | <span class="emph"> |
73 | | - <xsl:value-of select="@name" /> |
| 73 | + <xsl:value-of select="@name" /> |
74 | 74 | </span> → |
75 | 75 | <span class="emph"> |
76 | | - <xsl:apply-templates select="value" /> |
| 76 | + <xsl:apply-templates select="value" /> |
77 | 77 | </span> |
78 | 78 | </div> |
79 | 79 | </xsl:otherwise> |
|
86 | 86 | <div class="toggle"> |
87 | 87 | <span>path:</span> |
88 | 88 | <div> |
89 | | - <xsl:apply-templates select="analysis" /> |
| 89 | + <xsl:apply-templates select="analysis" /> |
90 | 90 | </div> |
91 | 91 | </div> |
92 | 92 | </xsl:when> |
93 | 93 | <xsl:otherwise> |
94 | 94 | <div class="nontoggle"> |
95 | 95 | <span>path:</span> |
96 | 96 | <span> |
97 | | - <xsl:apply-templates select="analysis" /> |
| 97 | + <xsl:apply-templates select="analysis" /> |
98 | 98 | </span> |
99 | 99 | </div> |
100 | 100 | </xsl:otherwise> |
101 | 101 | </xsl:choose> |
102 | 102 | </xsl:template> |
103 | 103 |
|
104 | | - <xsl:template match="loc"> |
| 104 | + <xsl:template match="call"> |
105 | 105 | <a target="_top" class="node-wrap"> |
106 | 106 | <xsl:attribute name="href">../frame.html?file=<xsl:value-of select="@file"/>&fun=<xsl:value-of select="@fun"/>&node=<xsl:value-of select="@id" /></xsl:attribute> |
107 | 107 | <div class="node-id"> |
|
131 | 131 | <script type="text/javascript" src="../script.js"/> |
132 | 132 | </head> |
133 | 133 | <body onload="init_node()"> |
134 | | - <xsl:apply-templates select="loc" /> |
| 134 | + <xsl:apply-templates select="loc/call" /> |
135 | 135 | </body> |
136 | 136 | </html> |
137 | 137 | </xsl:template> |
|
0 commit comments