Изменения документа XML Xquery | JSON JsonPath
Редактировал(а) Alexandr Fokin 2024/04/20 22:15
<
>
отредактировано Alexandr Fokin
на 2020/08/06 10:02
на 2020/08/06 10:02
отредактировано Alexandr Fokin
на 2020/08/06 10:08
на 2020/08/06 10:08
Изменить комментарий:
Редактировать комментарий
Комментарий
-
Объекты (1 изменено, 0 добавлено, 0 удалено)
Подробности
- XWiki.XWikiComments[0]
-
- Комментарий
-
... ... @@ -1,9 +1,18 @@ 1 1 SOAP query 2 2 3 3 {{code language="sql"}} 4 -.value(' 5 -declare namespace s="http://schemas.xmlsoap.org/soap/envelope/"; 6 -/s:Envelope[1]/s:Body[1]/CreateResponse[1]/CreateResult[1]/Id[1]', 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]', 7 7 'nvarchar(50)' 8 8 ) 9 + 10 +;with 11 + xmlnamespaces( 12 + 'http://schemas.xmlsoap.org/soap/envelope/' as [SOAP] 13 + ) 14 +select xml.value( 15 + '/SOAP:Envelope[1]/SOAP:Body[1]/CreateResponse[1]/CreateResult[1]/Id[1]', 16 + 'varchar(max)' 17 +) 9 9 {{/code}}