|
|
|
count в XPath
|
|||
|---|---|---|---|
|
#18+
Есть Xml <errors> <error> <error> <error> <error> </errors> Необходимо вставить атрибут в последний элемент error.Пробовал так set @Errors.modify('insert attribute RootProc {sql:variable("@RootProc")} into (/errors/error)[count((/errors/error)]') Ругается. set @Errors.modify('insert attribute RootProc {sql:variable("@RootProc")} into (/errors/error)[1]') А так вставляет. Как мне count вставить? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 02.04.2007, 14:12 |
|
||
|
|

start [/forum/topic.php?desktop=1&fid=14&tid=1334370]: |
0ms |
get settings: |
11ms |
get forum list: |
20ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
31ms |
get topic data: |
11ms |
get forum data: |
3ms |
get page messages: |
38ms |
get tp. blocked users: |
1ms |
| others: | 238ms |
| total: | 361ms |

| 0 / 0 |
