|
|
|
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&msg=34032850&tid=1334622]: |
0ms |
get settings: |
7ms |
get forum list: |
16ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
159ms |
get topic data: |
9ms |
get forum data: |
3ms |
get page messages: |
43ms |
get tp. blocked users: |
1ms |
| others: | 228ms |
| total: | 472ms |

| 0 / 0 |
