|
|
|
XSL: использование переменной
|
|||
|---|---|---|---|
|
#18+
В данном примере переменная во втором template всегда пустая. <xsl:template match="TreeItem"> <xsl:variable name="txt"><xsl:value-of select="@title"/></xsl:variable> <xsl:call-template name="level2"/> </xsl:template> <xsl:template name="level2"> ---вызов переменной txt </xsl:template> Как использовать переменную txt во втором template? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 04.10.2006, 18:14 |
|
||
|
|

start [/forum/topic.php?fid=14&gotonew=1&tid=1334622]: |
0ms |
get settings: |
6ms |
get forum list: |
8ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
143ms |
get topic data: |
10ms |
get first new msg: |
6ms |
get forum data: |
2ms |
get page messages: |
41ms |
get tp. blocked users: |
1ms |
| others: | 202ms |
| total: | 423ms |

| 0 / 0 |
