Skip to content

Commit

Permalink
[feature] Adds rest:build-uri() from RESTXQ paper
Browse files Browse the repository at this point in the history
  • Loading branch information
yamahito committed Apr 30, 2024
1 parent 96fb76e commit 5ac2d99
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions exquery-restxq-specification/restxq-1.0-specification.html
Original file line number Diff line number Diff line change
Expand Up @@ -903,6 +903,13 @@ <h4>rest:uri()</h4>
this is the <code>rest:base-uri()</code> appended with the path from the Path Annotation (if present) of the Resource Function.
</p>
</section>
<section>
<h4>rest:build-uri()</h4>
<div class="exampleInner">
<pre><code class="function">rest:get-absolute-uri($path-segments as <code class="type">xs:anyAtomicType+</code>)</code> as <code class="type">xs:anyURI</code></pre>
</div>
<p>Summary: This function returns an absolute URI by concatenating the base URI as returned by rest:base-uri() with each path segment in the parameter $path-segments, separating each by a '/' character. The result of this function should be stable across invocations within an implementation.</p>
</section>
</section>
</section>

Expand Down

0 comments on commit 5ac2d99

Please sign in to comment.