Skip to content

Commit

Permalink
doc(readme): declare variable as external in query exapmle
Browse files Browse the repository at this point in the history
  • Loading branch information
olvidalo committed Dec 10, 2021
1 parent 2595b8e commit b7bce09
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Expand Up @@ -427,6 +427,9 @@ Pass a variable to the XQuery script.
*scripts/var.xq*

```xquery
(: optionally declare the variable as external :)
declare variable $someVariable external;
<result>{ $someVariable }</result>
```

Expand Down

0 comments on commit b7bce09

Please sign in to comment.