Questions tagged [exist-db]

eXist-db is an open-source database management system built using XML technology. It stores XML data according to the XML data model and features efficient, index-based XQuery processing.

EXist-db is a native XML Database. Resources are stored in a directory-like structure called collections. There are different ways to access the data: XML-RPC, REST, WebDAV, SOAP, XUpdate, XMLDB and so on.

EXist-db is released under the GNU LGPL.

536 questions
0
votes
1 answer

remove application icons in dashboard

I deleted a collection in exist-db, but the application icon still appears on exist-db dashboard. when click on it, it return HTTP ERROR 404. this is normal because I deleted it, so the icon on dashboard is no longer necessary. how to delete it?
Ts Tr
  • 15
  • 4
0
votes
1 answer

eXist-db XForms POST submission instance update

I made a simple test form for post request testig. My simple goal is: send POST request with 2 parameters, store server response in the instance (server just sends recieved parameters back to form, untouched)
Dimas51
  • 19
  • 3
0
votes
1 answer

Searching HTML with XQuery and returning the parent node

I've inherited an XQuery app running in eXist-db and I've been able to learn enough XQuery to tidy it up a bit, but I'm struggling with the final change I need to do. The app has an HTML file stored in a collection in the following format: …
Jordan Wall
  • 95
  • 1
  • 2
  • 9
0
votes
2 answers

XQuery: Return something before execution of query has finished

In my web application, the whole search page is written in XQuery. The query does not just find and display the results, but also writes the search term into a protocol file (in eXist db, this is possible with the file:serialize-function). However,…
cis
  • 1,259
  • 15
  • 48
0
votes
1 answer

Can't iterate over the elements on and xml file with xquery

I 've got a xml file with this structure:
patricia
  • 1,075
  • 1
  • 16
  • 44
0
votes
1 answer

XQuery: Return how many times a search term was found in a XML document

I have a collection of two XML files (tagged according to TEI standard and containing lots of elements) in an eXist database. I'm looping through the file with a FLWOR routine, looking for the search term the user typed in a form…
smo
  • 89
  • 8
0
votes
1 answer

XQuery v3 - comparing two values of two different files

I assume, this can be solved using grouping, but as a beginner in XQuery, I am not quite able to write a functioning query. I am using eXist-db, with XQuery version 3. I have two XML documents. The first one containing records that look like this…
0
votes
1 answer

XQuery in eXist-db get last item of each subject in a record and compare it - how do I use group-by here?

(This Question has been edited.) Dear Community, I am not very experienced in XQuery and currently facing the following problem while working with CDISC xml documents. I have already spend quite a while on this specific Query and I know I'll be…
0
votes
1 answer

Issues when adding a xml content with UTF-8 characters to an eXist-db collection using Perl

I am trying to add dynamically generated XML content to a eXist-db collection (see the code below addFile.pl) using Perl, the issue is that whenever the content contains UTF-8 characters I receive the error Failed to parse XML-RPC request: Byte…
richardtk_1
  • 751
  • 3
  • 11
  • 33
0
votes
1 answer

big xml files vs multiple xml files

I may have a stupid question, but I can't find any explicit elements on this, so I get a shoot : It seems that the design pattern in xml database is to consider xml files as "rows" from Relational ones. I found explicit recommandations on this for…
Eric S
  • 452
  • 4
  • 10
0
votes
1 answer

How to Set UID with eXist-db 2.2 XMLDB-embedded java API

I am updating an Exist-db XMLDB-embedded application from exist 1.4 to 2.2 using Java 1.8. The User class has been deprecated in 4.4, so I am using UserAider instead, however the UserAider class does contain the setUID method. How do I go about…
Saveloy
  • 35
  • 1
  • 1
  • 3
0
votes
1 answer

Update XML file with XQuery Issue

I am trying to update a node in an XML file using the following XQuery (in eXide): xquery version "3.0"; let $update := doc('db/apps/xmlFiles/Customers.xml')//Customers[ID = 6] return replace value of node $update/LastName with 'Morris' but I…
Lloyd
  • 435
  • 3
  • 12
  • 29
0
votes
1 answer

exist-db aborts tring to store well formed document

I cannot store the following well formed XML document in the database. I originally encountered this trying to use store-file-from-pattern to store several documents. The document was not store and the command gave no feedback (that I could discern)…
Ihe Onwuka
  • 467
  • 1
  • 3
  • 11
0
votes
1 answer

Duplicate entry in an exist DB

I have an exist-db version 2.2 under Windows 7, Java "1.7.0_65". I want to make a server-side backup. When starting the server side backup (zipped) I am getting at the console the following Exception: Loading mime table from file…
Luixv
  • 8,590
  • 21
  • 84
  • 121
0
votes
1 answer

Form not submitted to correct server scgript

I am trying to test submission of this XForm using an echo service (I have my own echo Xquery script but also tried it with the web based one you can see in the code example). My checks reveal that the xforms-submit-done event does get fired but …
Ihe Onwuka
  • 467
  • 1
  • 3
  • 11