Skip to content

Commit b408949

Browse files
authored
typo: retrive -> retrieve
1 parent 4640614 commit b408949

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎docs/xquery/functions-related-to-qnames-local-name-from-qname.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ fn:local-name-from-QName($arg as xs:QName?) as xs:NCName?
4343

4444
- Stores a sample XML instance in the table. Using the **query()** method of the xml data type, the query expression is executed to retrieve the local name part of the QName type value from the instance.
4545

46-
```
46+
```sql
4747
DROP TABLE T
4848
go
4949
DROP XML SCHEMA COLLECTION SC
@@ -64,7 +64,7 @@ insert into T values ('<root xmlns="QNameXSD" xmlns:a="http://someURI">a:someLoc
6464
SELECT xmlCol.query('declare default element namespace "QNameXSD"; local-name-from-QName(/root[1])')
6565
FROM T
6666
-- Result = someLocalName
67-
-- You can retrive namespace URI part from the QName using the namespace-uri-from-QName() function
67+
-- You can retrieve namespace URI part from the QName using the namespace-uri-from-QName() function
6868
SELECT xmlCol.query('declare default element namespace "QNameXSD"; namespace-uri-from-QName(/root[1])')
6969
FROM T
7070
-- Result = http://someURI

0 commit comments

Comments
 (0)