Skip to content

Commit

Permalink
Merge pull request #896 from michaelhkay/887-typo-in-named-function-r…
Browse files Browse the repository at this point in the history
…eferences

887 - fix simple typo in example
  • Loading branch information
ndw authored Dec 12, 2023
2 parents f73bc2c + 656dd37 commit 7bef932
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion specifications/xquery-40/src/expressions.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9203,7 +9203,7 @@ return $a("A")]]></eg>
<example diff="add" at="B">
<head>A Context-Dependent Named Function Reference</head>
<p>Consider:</p>
<eg role="parse-test"><![CDATA[let $f := <foo/>/fn:name#0 return <bar>/$f()]]></eg>
<eg role="parse-test"><![CDATA[let $f := <foo/>/fn:name#0 return <bar/>/$f()]]></eg>
<p>The function <code>fn:name()</code>, with no arguments, returns the name of the context node. The function
item delivered by evaluating the expression <code>fn:name#0</code> returns the name of the element that was the
context node at the point where the function reference was evaluated (that is, the <code>&lt;foo&gt;</code> element).
Expand Down

0 comments on commit 7bef932

Please sign in to comment.