|
|
|
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&fpage=64&tid=1334370]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
47ms |
get topic data: |
9ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 217ms |
| total: | 339ms |

| 0 / 0 |
