|
|
|
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=34431303&tid=1334370]: |
0ms |
get settings: |
11ms |
get forum list: |
19ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
59ms |
get topic data: |
12ms |
get forum data: |
3ms |
get page messages: |
49ms |
get tp. blocked users: |
2ms |
| others: | 240ms |
| total: | 403ms |

| 0 / 0 |
