|
возможно ли использовать переменную при определении шаблона?
|
|||
---|---|---|---|
#18+
в нескольких шаблонах нужно использовать один и тот же match, но с разными mode возможно ли применить такую вот конструкцию? ... <xsl:variable name='path' >/tagroot/task[@code='sametask']</xsl:variable> <xsl:template mode='a' match="$path"> ... <xsl:template mode='b' match="$path"> ... Я почему-то получаю ошибку двусмысленного правила: "Ambiguous rule match" ... |
|||
:
Нравится:
Не нравится:
|
|||
01.12.2009, 16:51 |
|
|
start [/forum/topic.php?fid=14&tid=1333382]: |
0ms |
get settings: |
9ms |
get forum list: |
13ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
35ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
26ms |
get tp. blocked users: |
1ms |
others: | 13ms |
total: | 118ms |
0 / 0 |