diff --git a/data/indexing.xml b/data/indexing.xml index e9d7bf54..8de4aa87 100644 --- a/data/indexing.xml +++ b/data/indexing.xml @@ -20,7 +20,7 @@ types of indexes: Properly configured indexes have a huge impact on database performance! Some - expressions might run a hundred times faster with an index. This is particular + expressions might run a hundred times faster with an index. This particulary applies to the range index: without a range index, eXist has to do a full scan over the context nodes to look up an element value, which severly limits performance and scalability. @@ -202,7 +202,7 @@ - All configuration documents documents have an index + All configuration documents have an index element directly below the root element, which encloses the index configuration. Only one index element is permitted in a document. Apart from the @@ -257,7 +257,7 @@ any query running on the database instance, no matter how the query is called. - Click Refresh and switch to the Indexes + Click Refresh and switch to the Index Usage tab. diff --git a/data/xquery.xml b/data/xquery.xml index 485b0a07..5e831e43 100644 --- a/data/xquery.xml +++ b/data/xquery.xml @@ -183,7 +183,7 @@ return try { 'a' + 7 } catch * { concat($err:code, ": ", $err:description) } returns the full error (excerpted here): err:XPTY0004: It is a type error if... - For more information, see the article on the eXist-db blog, Higher-Order Functions in XQuery 3.0 and the specification. + For more information, see the article on the eXist-db blog, Try-Catch Expression and the specification. The new String Concatenation expression: A convenient alternative to @@ -816,6 +816,14 @@ return $w add-exist-id to "element" will only show the node id of the top-level element, "all" will show the ids of all elements. + + + + + + + to discard white-space text nodes when serializing XML/XDM to JSON. + The general options include the following: @@ -902,7 +910,7 @@ return $w For example, to disable XInclude expansion, and indent the output, you can use the following syntax: - declare option exist:serialize "expand-xincludes=no"; + declare option exist:serialize "expand-xincludes=no indent=yes"; For the output method parameter, eXist-db currently recognizes three methods: , and . Note that unlike the xml method, the xhtml setting uses only the short form for