-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Alternative lookup syntax" #5
Comments
Hi Joe, Yes, I had in mind simplifying the expression like so: let $lookup-word := local:lookup-word(?, $id, $key)
let $definitions := map:find($lookup-word($word), "definitions")
for $definition at $num in $definitions?*
return $num || ". " || $definition In other words, I wanted to show students that the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi Cliff,
In 03, around line 470, there's this paragraph:
I wasn't exactly sure what you meant by "alternative lookup syntax." Did you mean the
?
lookup operator? Are you asking the student to write out a more verbose path rather than usemap:find()
?Joe
The text was updated successfully, but these errors were encountered: