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

exist-db : Issues with ant task xdb:adduser or xdb:users : no such handler

I'm using ant scripts for initializing my exist-db. But, I have this script below (dummy version) which is working in my local platform and not on my procution one. As I'm not the one who handle the configuration of this database, I don't know where…
Eric S
  • 452
  • 4
  • 10
0
votes
1 answer

Exist-DB: REST GET to stored XProc file (xpl extension) returns error

In Exist 2.2, When I try to access any .xpl files with REST GET, I get the following error: /db/beheer/pipe.xpl err:XPST0003 error found while loading module xproc: Error while loading module http://xproc.net/xproc: unexpected token: ! (while…
M_breeb
  • 195
  • 1
  • 9
0
votes
1 answer

eXist-db getting data from many XMLs of the same collection

I'm new to using eXist-db. Using Java/Groovy I am trying (with no luck) to get data from a collection I created: /db/apps/compositions. In /db/apps/compositions are a couple of XML documents that look similar to this:
Pablo Pazos
  • 3,080
  • 29
  • 42
0
votes
1 answer

How can I not strip html in sphinx attributes?

I have an exist-db database with a couple of (large) TEI xml files which I want to index/search. For indexing, I have an xmlpipe2 command calling a sphinx-out.xql url served by the exist db. Along with the actual texts snippets (paragraphs,…
awagner
  • 107
  • 1
  • 8
0
votes
1 answer

List all actors in a movie by Xquery

I want to list all actors for each movie I got in my eXist-db/XML-database. I've created a movies.xml and an actors.xml. (Content is pasted at the end.) My Xquery so far is as below, and the result is listing an actor and a movie together, with the…
PWL
  • 456
  • 4
  • 27
0
votes
1 answer

xquery skip elements if they exist already

$a is ( , ) $b is ( , ) I am trying to get the following as…
NEO
  • 1,961
  • 8
  • 34
  • 53
0
votes
1 answer

Access to "filesystem" from eXist/xslt - find ../html/*_myId.html (with collection()?)

After having transformed my large xml files into a series of paginated html fragments, for crossreferences I am now working on an xsl function that needs to know which file a certain node (resp. the element it has been transformed to) has ended up…
awagner
  • 107
  • 1
  • 8
0
votes
1 answer

XQuery - Extract distinct elments by attribute

I have an XML document which contains a list of customers and their orders and items in those orders. I want to get a list containing distinct values of customers. The customer's id is the attribute of "Name". Example XML:
Aaron
  • 15
  • 4
0
votes
2 answers

Casting noisy input to gYear

so i have some noisy xml input data and i would like to cast it to xs:gYear since all of it is dates. let $dates := -1234 1911 786 -90 0 0302
duncdrum
  • 723
  • 5
  • 13
0
votes
2 answers

Indentity Transform with Namespaces

There is a well known Identity Transform sample code in the XQuery wikibook But it works well only with no namespace documents, or explicitly declaring the namespaces with the same prefixes used in the document about to be processed. If you don't…
Bill Velasquez
  • 875
  • 4
  • 9
0
votes
1 answer

xQuery - BFS to find all paths between two nodes

I've asked a question 2 months or so where i needed help implementing the BFS algorithm in xquery to find the shortest path between two nodes in a directed graph, luckily someone helped me and the code they gave me worked with some minor…
HardCodeStuds
  • 407
  • 2
  • 11
  • 29
0
votes
2 answers

eXist db index not used in xquery

I have stored in my eXist db nodes of the following type:
0
votes
1 answer

Exist db triggers: after-create-document event does not fire when a document is stored as a result of another trigger

With Exist DB I am able to get triggers working. For example, in my setup adding a file to a collection A triggers an XQuery which reads this particular file and generates several new files based on the content of this file (to another collection B…
M_breeb
  • 195
  • 1
  • 9
0
votes
1 answer

Renaming collection in eXist-db in Java

Hi I would like to ask if someone could tell me if it is possible to rename a collection in eXist-db in Java (without having to remove old collection and create a new one). I have already searched the API but haven't found anything except creating…
Notur
  • 93
  • 1
  • 1
  • 7
0
votes
1 answer

How to access native xml database (eXist-db) from codeigniter

For my final project I have to use native xml database processed by xquery, of course. I also want to use the codeigniter framework. The problem is I don't know how to connect to the exist database and how to manipulate the xml files with xquery…
Carmen Cojocaru
  • 333
  • 1
  • 7
  • 16