Skip to content
Permalink
Browse files

Merge pull request xproc#156 from eriksiegel/104-xquery-update

Fixing p:xquery description
  • Loading branch information...
eriksiegel committed Jun 27, 2019
2 parents cbe6be9 + 12984a0 commit c5d7c8e821eab30d8f3e2e248e10cd98a33a65fa
Showing with 1 addition and 18 deletions.
  1. +0 −1 steps/src/main/xml/references.xml
  2. +1 −17 steps/src/main/xml/steps/xquery.xml
@@ -14,7 +14,6 @@
<bibliomixed xml:id="xpath31-functions"/>
<bibliomixed xml:id="xinclude"/>
<bibliomixed xml:id="xml-serialization-31"/>
<bibliomixed xml:id="xquery10"/>
<bibliomixed xml:id="rfc1321"/>
<bibliomixed xml:id="rfc2045"/>
<bibliomixed xml:id="rfc2046"/>
@@ -6,7 +6,7 @@
<title>p:xquery</title>

<para>The <tag>p:xquery</tag> step applies an
<biblioref linkend="xquery10"/> query to the sequence of documents
XQuery query to the sequence of documents
provided on the <port>source</port> port.</para>

<p:declare-step type="p:xquery">
@@ -64,22 +64,6 @@ implementation may use any version it has available and may use any means
to determine what version to use, including, but not limited to,
examining the version of the query.</para>

<para>The result of the <tag>p:xquery</tag> step must be a sequence of
documents. <error code="C0057">It is a <glossterm>dynamic
error</glossterm> if the sequence that results from evaluating the XQuery contains
items other than documents and elements.</error> Any elements that appear
in the result sequence will be treated as documents with the element as their
document element.</para>

<para>For example:</para>
<programlisting language="xml">
&lt;c:query&gt;
declare namespace atom="http://www.w3.org/2005/Atom";
/atom:feed/atom:entry
&lt;/c:query&gt;

</programlisting>

<para>The output of this step
<rfc2119>may</rfc2119> include PSVI annotations.</para>

0 comments on commit c5d7c8e

Please sign in to comment.
You can’t perform that action at this time.