Изменения документа XML Xquery | JSON JsonPath

Редактировал(а) Alexandr Fokin 2024/04/20 22:15

<
От версии < 4.4 >
отредактировано Alexandr Fokin
на 2020/08/06 10:03
К версии < 4.5 >
отредактировано Alexandr Fokin
на 2020/08/06 10:08
>
Изменить комментарий: Редактировать комментарий

Комментарий

Подробности

XWiki.XWikiComments[0]
Комментарий
... ... @@ -2,8 +2,8 @@
2 2  
3 3  {{code language="sql"}}
4 4  xml.value('
5 -declare namespace s="http://schemas.xmlsoap.org/soap/envelope/";
6 -/s:Envelope[1]/s:Body[1]/CreateResponse[1]/CreateResult[1]/Id[1]',
5 + declare namespace s="http://schemas.xmlsoap.org/soap/envelope/";
6 + /s:Envelope[1]/s:Body[1]/CreateResponse[1]/CreateResult[1]/Id[1]',
7 7  'nvarchar(50)'
8 8  )
9 9  
... ... @@ -12,7 +12,7 @@
12 12   'http://schemas.xmlsoap.org/soap/envelope/' as [SOAP]
13 13   )
14 14  select xml.value(
15 -'/SOAP:Envelope[1]/SOAP:Body[1]/CreateResponse[1]/CreateResult[1]/Id[1]',
16 -'varchar(max)'
15 + '/SOAP:Envelope[1]/SOAP:Body[1]/CreateResponse[1]/CreateResult[1]/Id[1]',
16 + 'varchar(max)'
17 17  )
18 18  {{/code}}