You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The second variable is misnamed and should be declare variable $Chas as document-node() := doc('https://raw.githubusercontent.com/ebeshero/UpTransformation/master/data/Charles1.xml');
======================================
#### XQuery flow control (1:30 p.m.–4:00 p.m.)
Review XPath for loops; sequence and range variables
b. Find all persons listed as born in Scotland in two ways: with a for loop and as a one-line XPath path expression. for $i in //person[contains(birth, "Scotland")] return $i or //person[contains(birth, "Scotland")]. You should return 30 elements.
The returned value should (now) be 45 and not 30.
The text was updated successfully, but these errors were encountered:
Errata to correct on GitHub syllabus
Tuesday: XPath and XQuery
===========================
G. Introducing variables (10 minutes; 11:30 a.m.–11:40 a.m.)
d. The value after as specifies the data type. It is optional, but strongly recommended.
That should read:
xs:integer
.======================================
Writing XQuery in stages (30 minutes; 1:30 p.m.–2:00 p.m.)
The second variable is misnamed and should be
declare variable $Chas as document-node() := doc('https://raw.githubusercontent.com/ebeshero/UpTransformation/master/data/Charles1.xml');
======================================
Review XPath for loops; sequence and range variables
The returned value should (now) be 45 and not 30.
The text was updated successfully, but these errors were encountered: