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 update insert very slow

I am a beginner with exist-db. I am building an xml document through Java. I process data through JAXB and then insert into exist-db resource through insert update. I am testing with around 500 nodes at this time and it starts taking up to 10…
waqas
  • 124
  • 1
  • 10
0
votes
1 answer

eXist-db xPath functions XQueryService: lowercase()

I am new with eXist and xPath. I am trying to use the lowercase function. Here's my java code. CompiledExpression compiled = xQueryService.compile("/realestatedata/agents/author/name[lower_case(text())='" + authorName.toLowerCase() + "']"); It…
waqas
  • 124
  • 1
  • 10
0
votes
1 answer

eXist-db size limit

I'm trying to upload a file to eXist-db using a PUT request and am getting the following message: 500 Server Error: Form too large 392430>200000 How can I override this limit?
Taymon
  • 24,950
  • 9
  • 62
  • 84
0
votes
1 answer

Handling results of eXist-db query made with Python

I have done following code in python to get the response of query in XML stored in eXist-db. I get the value but the problem is type 'instant' as given in the output below. Here's my code: from eulexistdb import db class TestExist: def…
Mahadeva
  • 1,584
  • 4
  • 23
  • 56
0
votes
1 answer

Encode string as html in eXist-db / XQuery

I'm trying to generate a treeview from a collection (filesystem). Unfortunately some Files have special characters like ü ä and ö. And I'd like to have them html encoded as &­auml; When I get them from the variable, they are URL encoded. First I…
romedius
  • 775
  • 6
  • 20
0
votes
2 answers

XQuery for on items

I know how to use the For instruction to create a loop on a collection or on a document but I have troubles to create a loop on an item()* content of item()*: abcd
0
votes
1 answer

target namespace not found for schema/module

I am relatively new to XQuery. However, I have done a decent amount of research on my issue and do not understand what I am doing wrong. Here is my code: (: XQuery main module :) xquery version "3.0" encoding "utf-8"; import schema namespace output…
zg303
  • 97
  • 1
  • 11
0
votes
1 answer

Problems with wsdl in existdb (PHP API)

i'm trying to type a simple access code to the eXist database, but the php goes crazy about the wsdl: The php code would sound like this: $db = new eXist(); And in the eXist class, it's by default $user="guest", $password="guest",…
ashcrok
  • 234
  • 3
  • 16
0
votes
1 answer

Authorization forbidden when using Orbeon eXist DB REST API

I'm new to Orbeon 4.1 and I'm trying to query the Orbeon eXist DB from an external application. When I query for a form instance I keep getting a "not authorized" error. For example: GET…
santiag0
  • 1
  • 1
0
votes
1 answer

eXist-db XQuery Sandbox: Problems in XPath expressions with doc()

I am using eXist-db Version: 1.4.1 (SVN Revision: 15155, Build: 20110815) and I am having problems in XQuery queries with XPath expressions when they involve names of elements or attributes, and XML data comes from the doc() function. I tested the…
jpleal
  • 161
  • 7
0
votes
1 answer

get default libraries exist-db to use with exide

I would Like to change the default database path in exist-db (currently /db/) where the collections are stored. I would Like it to be /home/username/db , for example. I can not find this setting in the exist-db configuration eXist Version: …
wester1991
  • 25
  • 1
  • 4
0
votes
1 answer

Upgrade Orbeon 3.8 - 4.1

We are using Orbeon 3.8 in a standard config with eXist database. Is there a way tot easy upgrade the db to the new 4.1, and have the saved data (forms and data) available in the new version?
Thomas
  • 11
  • 1
0
votes
1 answer

Printing output from exist-db to a file

I have executed an xquery on the exist-db. Now I want to print the output in a file like a csv or an excel file, how can it be done. I can print the output in an HTML format but is there any way to to generate a file for the same.
abhi191
  • 65
  • 1
  • 1
  • 10
0
votes
2 answers

How to query eXist db from java

I'm trying to query a file based on the eXist database. Through a simple function to display the contents of the file, no problem: XMLResource res = (XMLResource) col.getResource(resourceName); System.out.println(res.getContent()); But when I…
Sam Ben
  • 3
  • 3