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

Make xf:output a clickable link

I have an xquery where an instance is defined:
user6419217
  • 59
  • 10
0
votes
1 answer

Adding parameters from input controls to url in submit action

I am trying to pass parameters from my input text control to the called xquery by adding them as parameters in url. I tried doing in may ways - always without success. Could you have a look and tell me what I am doing wrong? xquery version…
user6419217
  • 59
  • 10
0
votes
2 answers

How to parse an eXist XQuery response with PHP?

I am trying to find an easy way to parse an eXist response with php without installing third party classes. This is the type of response that I would like to parse :
benjisail
  • 1,646
  • 5
  • 21
  • 35
0
votes
1 answer

eXist-db: xpath does not return a value when xml is obtained with doc function

Basically, this returns empty labels: let $report := fn:doc('/db/junitReports/Report.xml') return Report.xml: InterfaceName
user6419217
  • 59
  • 10
0
votes
2 answers

Return type error in eXist-db

I have just realized my logger is very active in the case of a function responsible for generating epubs. The problem is it works as expected. Hence I wonder what is going on here. The error: java:org.exist.xquery.XPathException, exerr:ERROR The…
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

How to dynamically search/replace text with update in XQuery (exist-db)

My intention is to somehow clean source files automatically. How to do that in XQuery? (I am not interested in reconstructing the document in memory and storing it as a new one.) It is quite easy to do something similar in case of short and simple…
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

How to show error log in a template in eXist-db, not outside of it?

In the controller I have: else if (ends-with($exist:resource, ".html")) then (: the html page is run through view.xql to expand templates :)
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

How to get more information about an image stored in eXist-db

I can’t figure out how to get more information in one run. For example, I would like to do some basic math for later operations (typically, scaling). This: import module namespace image = "http://exist-db.org/xquery/image"; let $img :=…
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
2 answers

Commercial FO processors in eXist-db

For my project, I would like to test XEP and AH Formatter. I like FOP but in some cases it really fails (floats, crop marks, pdf/x standards, etc.) and I need to know some alternatives. XEP With XEP I am very close. I have copied all jars into…
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

eXist-db and Saxon processor in production (licensing)

I have no clue what is the version of Saxon used in the latest (and the next stable) version of eXist-db. I would like to use eXist in production and guess it would be quite right to pay the license. If so, I am not sure whether it is necessary to…
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

Unable to properly edit unicode characters in eXide

I am trying to edit the following xml in eXide editor హరి ర్హరతి-హరిః+హరతి, పాపాని, దుష్టచిత్తై రపి-దుష్టచిత్తైః+అపి, స్మృతః, అనిచ్ఛయాపి-అనిచ్ఛయా+అపి, సంస్పృష్టో- సంస్పృష్టః,దహత్యేవ-దహతి+ఏవ,హి,పావకః, స-సః, గంగా, స-సః, గయా, సేతుః,…
0
votes
2 answers

XQuery issue when counting empty nodes and nodes that don't have a specific text (ne)

I want to count all the r elements that don't have the text "unspecified" within them. hi there you all unspecified unspecified I am employing the following XQuery: let…
richardtk_1
  • 751
  • 3
  • 11
  • 33
0
votes
2 answers

eXistdb JSON serialization

I have created an XQuery against http://www.w3schools.com/xsl/books.xml xquery version "3.0"; for $x in collection("/db/books")//book return {$x//author} If I evaluate it in eXistdb's eXide, I get…
Mark Miller
  • 3,011
  • 1
  • 14
  • 34
0
votes
1 answer

Why my XPath assertion test does pass in eXist-db?

I have a testing function which takes a document as its argument and transforms it from XML into HTML. For it, I would like to use some tests. %test:assertXPath seems to be a good candidate in this case. However, I can’t understand its behavior if I…
Honza Hejzl
  • 874
  • 8
  • 23
0
votes
1 answer

Validation error for XSL-FO file in eXist-db (using Jing and Jaxp)

I am intensively testing the production of pdfs in my app based on eXist-db. The validation scenario is quite straightforward: let $doc := xmldb:document('/db/apps/my-app/data/test.fo') let $grammar :=…
Honza Hejzl
  • 874
  • 8
  • 23