|
|
|
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?fid=14&msg=34431332&tid=1334370]: |
0ms |
get settings: |
8ms |
get forum list: |
19ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
61ms |
get topic data: |
11ms |
get forum data: |
2ms |
get page messages: |
54ms |
get tp. blocked users: |
2ms |
| others: | 216ms |
| total: | 379ms |

| 0 / 0 |
