Skip to content

Commit e639f61

Browse files
committed
updated date and example module
as per @joewiz suggestion
1 parent 8ee0f09 commit e639f61

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/main/xar-resources/data/configuration.xml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<bookinfo>
44
<productname>eXist-db – Open Source Native XML Database</productname>
55
<title>Server Configuration</title>
6-
<date>April 2010</date>
6+
<date>2017-12-19</date>
77
<author>
88
<firstname>Wolfgang M.</firstname>
99
<surname>Meier</surname>
@@ -1403,12 +1403,9 @@ uri="http://exist-db.org/xquery/file" /&gt;</synopsis>
14031403
sufficient to provide the correct URI in the import. Specifying a location
14041404
is not needed:</para>
14051405
<synopsis language="xquery">import module namespace file="http://exist-db.org/xquery/file";</synopsis>
1406-
<para>Instead of providing a Java class, one can also specify a src URI which
1407-
must point to the XQuery source code of the module, e.g.:</para>
1408-
<synopsis language="xml">&lt;module src="resource:org/exist/xquery/lib/json.xq"
1409-
uri="http://www.json.org"/&gt;</synopsis>
1410-
<para>For the src attribute, eXist understands the <ulink url="xquery.xml#module-system">same types of
1411-
URIs</ulink> as in an ordinary XQuery import statement.</para>
1406+
<para>Instead of providing a Java class, one can also specify a src URI which must point to the XQuery source code of the module, e.g.:</para>
1407+
<synopsis language="xml">&lt;module uri="http://exist-db.org/xquery/kwic" src="resource:org/exist/xquery/lib/kwic.xql"/&gt;</synopsis>
1408+
<para>For the src attribute, eXist understands the <ulink url="xquery.xml#module-system">same types of URIs</ulink> as in an ordinary XQuery import statement.</para>
14121409
</section>
14131410
</section>
14141411
</section>

0 commit comments

Comments
 (0)