Questions tagged [exide]

Questions about using eXide, web-based XQuery IDE for eXist-db. Indicates the eXide environment was used in the question and that this may be an important factor in the answer.

eXide is a free, open source, web-based XQuery IDE for eXist-db. It is installed by default with every copy of eXist. Its major features are:

  • Edit, validate, and run XQuery in a web-based code editor, with syntax highlighting, inline function documentation lookup, code templates, and code completion
  • Browse database collections and resources, change permissions, and upload/download resources
  • Execute XQSuite unit tests
  • Create eXist applications from several pre-defined templates

eXide can be accessed on standard desktop eXist installations from the eXist task bar, or directly at http://localhost:8080/exist/apps/eXide.

For convenience, users can try a live demo version of eXide via the exist-db.org website at https://exist-db.org/exist/apps/eXide, although the functions there are limited to guest-level permissions. Thus, you cannot save data to the database or perform other administrator user-only functions from this demo instance of eXide.

The source code and community issue tracker for the project can be found at https://github.com/eXist-db/eXide.

14 questions
3
votes
2 answers

How to show more than 10 results in eXide (eXist-db)?

I wonder how to make eXide to return more than 10 results. No matter how I query the database, it is not possible to get more. Is there some special rule in $EXIST_HOME or so? I use eXist-db 3.0.RC1.
Honza Hejzl
  • 874
  • 8
  • 23
1
vote
2 answers

How do I get the xpath for SVG element with linearGradient defs?

I am trying to find the xpath for the following SVG rectangle element with lineargradient attribute stop-color="#FFFFFF". I can certainly retrieve the xpath by referencing the attribute @fill=url(#color1) but I want to do it by the color code…
Ryan
  • 13
  • 3
1
vote
1 answer

Exist DB XQuery: How to make an HTTP POST Request

Question: How do you make an HTTP POST request to an external service within Exist DB, ideally using just XQuery? Motivation: I want to take a set of XML documents in Exist DB, and send each to an external server for processing, then I want to…
speedplane
  • 15,673
  • 16
  • 86
  • 138
1
vote
2 answers

Concat adds double quotes

concat adds another double quote if an input string includes one. I am using XQuery 3.1 on eXide. A̶F̶A̶I̶K̶,̶ ̶e̶X̶i̶d̶e̶ ̶u̶s̶e̶s̶ ̶S̶a̶x̶o̶n̶ ̶a̶s̶ ̶X̶Q̶u̶e̶r̶y̶ ̶e̶n̶g̶i̶n̶e̶.̶ (it doesn't, see joewiz answer below). The bug occurs when I…
Justin P.
  • 183
  • 1
  • 1
  • 16
1
vote
2 answers

eXist-db ft:query returning zero result while running eXide or oxygen

I am running ft:query on a collection which is stored in eXist-db but it's returning zero results. If I use fn:contains function it works perfect but ft:query returns zero results. Below is my XML structure, index configuration file, and…
1
vote
1 answer

Get execution time of XQuery in eXist

How can I get a reliable measure of the execution time of an XQuery in eXist-db? It seems like eXide takes into account even the render of the results in the browser, am I wrong?
alfredopacino
  • 2,979
  • 9
  • 42
  • 68
1
vote
1 answer

Can't get attribute values or get Error XQDY0025 in XQuery

I get nothing or "Error XQDY0025" when I use the XQuery below. However, eXide shows "Found 4 in 0.004s", please help me, I can't find the problem. for $s in doc("customers.xml")/customers/Customer return $s/@Name to query theName attributes from…
alex
  • 47
  • 6
1
vote
1 answer

eXide not show any results on screen

I write this query in eXist-db (eXide): doc("/db/libros/prueba.xhtml")/html/body/p/a/@href Find two results: Found 2 in 0.003s But the screen does not show any Input document is: titulo
wester1991
  • 25
  • 1
  • 4
0
votes
0 answers

Xquery err:XPST0017 Function parse-json()

I tried to use the following function in an XQuery in eXide from eXist-db: let $x := parse-json(substring-before(substring-after($body,'('),');')) but it gives me the following error: err:XPST0017 Function parse-json() is not defined in module…
props
  • 105
  • 1
  • 7
0
votes
1 answer

XQuery error XPST0003 syntax error

I want to query a site and generate HTML. I am new to XQuery. I am using eXide from eXist-db. I tried to use oXygen but keep having troubles with the eXist-db. Besides that I don't understand why this code does not work in eXide: xquery version…
props
  • 105
  • 1
  • 7
0
votes
0 answers

eXist-db eXide editor not showing collections

When I open eXide while running eXist-db it doesn't show any of my collections. I recently updated to the latest version and now the collections show in the dashboard but not in eXide.
0
votes
0 answers

ft:query-field from within an eXist app

[Edit: Appears to be this bug] I would like to use ft:query-field from within an eXist-2.2-based application. While this works just fine when I run the query from an eXide 'new xquery' window or directly using the REST API, I don't get any results…
Thorsten
  • 61
  • 5
0
votes
1 answer

Unable to properly edit unicode characters in eXide

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

robots for exide using FLWOR

-R (CARGAS PEQUEÑAS-MEDIANAS) --RS080N --RS003N --RS010L -CX (GRANDES CARGAS) --CX110L --CX210L I need this result (an ul inside an ul) using this xml R CARGAS…
Lordpascal
  • 51
  • 1
  • 6