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
0 answers

existDB- Why does my javascript not work?

I am currently working on a little project, that I cannot get to run properly. This is my page.html, which I use as a template. App…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/javascript" class="post-tag grid--cell" title="show questions tagged 'javascript'" rel="tag">javascript</a> <a href="../../questions/tagged/html" class="post-tag grid--cell" title="show questions tagged 'html'" rel="tag">html</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card__deleted"> <time class="s-user-card--time" datetime="asked Jan 14 '20 at 18:47">asked Jan 14 '20 at 18:47</time> <div class="s-avatar s-avatar__32 s-user-card--avatar"> </div> <div class="s-user-card--info">user9813195</div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59718912"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59718912/how-to-manipulate-file-paths" class="question-hyperlink">How to manipulate file-paths</a></h3> <div class="excerpt">I know this seems like a duplicate, and I am sure it more or less is ... However, it really bugs me, and I cannot make anything of the posts before: I am building a digital edition, utlizing TEI, XML, XSLT, (and probably existDB, maybe I switch to…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card__deleted"> <time class="s-user-card--time" datetime="asked Jan 13 '20 at 14:50">asked Jan 13 '20 at 14:50</time> <div class="s-avatar s-avatar__32 s-user-card--avatar"> </div> <div class="s-user-card--info">user9813195</div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59646094"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59646094/exist-db-multiple-request-post-put-failed-on-restxq" class="question-hyperlink">Exist-db Multiple request(post,put) failed on restxq</a></h3> <div class="excerpt">I am facing a problem on restxq multiple parallel request of post, put. When request from web application as async bulk request (approx. more then 5 ).…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> <a href="../../questions/tagged/restxq" class="post-tag grid--cell" title="show questions tagged 'restxq'" rel="tag">restxq</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Jan 08 '20 at 12:40">asked Jan 08 '20 at 12:40</time> <a href="../../users/12655847/dc-gayari" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12655847.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="DC Gayari" /> </a> <div class="s-user-card--info"> <a href="../../users/12655847/dc-gayari" class="s-user-card--link">DC Gayari</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">1</li> <li class="s-award-bling s-award-bling__bronze" title="1 bronze badges">1</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59438796"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59438796/xquery-count-number-of-characters-and-paragraphs-in-ancestor-div-node-up-until" class="question-hyperlink">xquery: count number of characters and paragraphs in ancestor (div) node up until a certain point in where child node occurs</a></h3> <div class="excerpt">Xquery newbie here again. I have the following xml: <div type="section" n="1"> <p>Lorem ipsum dolor sit amet, <rs type="xyz">consectetur</rs> adipiscing <placeName ref="#PLACE1">elit</placeName>, sed do eiusmod tempor incididunt ut labore et dolore…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/count" class="post-tag grid--cell" title="show questions tagged 'count'" rel="tag">count</a> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 21 '19 at 18:27">asked Dec 21 '19 at 18:27</time> <a href="../../users/12299138/megan-cytron" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12299138.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Megan Cytron" /> </a> <div class="s-user-card--info"> <a href="../../users/12299138/megan-cytron" class="s-user-card--link">Megan Cytron</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">85</li> <li class="s-award-bling s-award-bling__bronze" title="7 bronze badges">7</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59262744"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59262744/xml-database-url-configuration" class="question-hyperlink">xml database URL configuration</a></h3> <div class="excerpt">I am using eXml database in my project. I want access my url http://mysystemIp:8080/db but now I am accessing http://mysystemIp:8080/exist/test/data. How I Can change the configuration. </div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/database" class="post-tag grid--cell" title="show questions tagged 'database'" rel="tag">database</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 10 '19 at 08:09">asked Dec 10 '19 at 08:09</time> <a href="../../users/10979818/ravi" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/10979818.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Ravi" /> </a> <div class="s-user-card--info"> <a href="../../users/10979818/ravi" class="s-user-card--link">Ravi</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">11</li> <li class="s-award-bling s-award-bling__bronze" title="4 bronze badges">4</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-59140589"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/59140589/linking-xml-schema-namespace-to-instance-xml-instance" class="question-hyperlink">Linking xml schema namespace to instance xml instance</a></h3> <div class="excerpt">I am new to xml and using existdb to create a basic database. I have a schema xml with targetNamespace defined and I am using that namespace as schemaLocation in instance xml. However, I don't understand when the instance document gets evaluated…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Dec 02 '19 at 14:07">asked Dec 02 '19 at 14:07</time> <a href="../../users/4964659/curiousbug" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4964659.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="CuriousBug" /> </a> <div class="s-user-card--info"> <a href="../../users/4964659/curiousbug" class="s-user-card--link">CuriousBug</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">243</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="3 silver badge">3</li> <li class="s-award-bling s-award-bling__bronze" title="16 bronze badge">16</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-58631897"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/58631897/insert-node-from-one-xml-file-into-another-using-xquery-for-exist-db" class="question-hyperlink">insert node from one xml file into another using xquery for Exist-db</a></h3> <div class="excerpt">I'm a SQL refugee new to Exist-db and I'm having so much trouble figuring out how to use xquery to take the value of node in file1.xml (a mysql dump) and add it to file2.xml (a TEI file). I want to match up the nodes from file1 with an xml:id value…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xml" class="post-tag grid--cell" title="show questions tagged 'xml'" rel="tag">xml</a> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Oct 30 '19 at 18:45">asked Oct 30 '19 at 18:45</time> <a href="../../users/12299138/megan-cytron" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/12299138.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="Megan Cytron" /> </a> <div class="s-user-card--info"> <a href="../../users/12299138/megan-cytron" class="s-user-card--link">Megan Cytron</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">85</li> <li class="s-award-bling s-award-bling__bronze" title="7 bronze badges">7</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-5833610"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>2</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/5833610/perl-how-to-validate-successful-call-to-xml-existdb-rpc" class="question-hyperlink">Perl: how to validate successful call to "XML::eXistDB::RPC"</a></h3> <div class="excerpt">i am writing a small perl app using the eXist database, and i am wondering is: how can i see that my call my $eXist = XML::eXistDB::RPC->new( destination=>$eXist_db, repository=>$bank, user=>"admin", password=>"pass" ) ; is successful or not…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/perl" class="post-tag grid--cell" title="show questions tagged 'perl'" rel="tag">perl</a> <a href="../../questions/tagged/rpc" class="post-tag grid--cell" title="show questions tagged 'rpc'" rel="tag">rpc</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Apr 29 '11 at 14:49">asked Apr 29 '11 at 14:49</time> <a href="../../users/690182/user690182" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/690182.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="user690182" /> </a> <div class="s-user-card--info"> <a href="../../users/690182/user690182" class="s-user-card--link">user690182</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">269</li> <li class="s-award-bling s-award-bling__gold" title="1 gold badge">1</li> <li class="s-award-bling s-award-bling__silver" title="8 silver badge">8</li> <li class="s-award-bling s-award-bling__bronze" title="20 bronze badge">20</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-58061021"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/58061021/use-a-trigger-to-evaluate-xquery-and-use-return-inside-html-page-in-existdb" class="question-hyperlink">Use a trigger to evaluate xQuery and use return inside HTML page in eXistDB</a></h3> <div class="excerpt">I’d like to use a Button/link/whatever to call a xQuery function from my eXist Webapp and use the returned value to display a Bootstrap alert. So include a <button type="button" class="btn btn-danger btn-circle">execute xQuery</button> inside my…</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 23 '19 at 11:03">asked Sep 23 '19 at 11:03</time> <a href="../../users/4315817/karkraeg" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/4315817.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="karkraeg" /> </a> <div class="s-user-card--info"> <a href="../../users/4315817/karkraeg" class="s-user-card--link">karkraeg</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">445</li> <li class="s-award-bling s-award-bling__silver" title="4 silver badges">4</li> <li class="s-award-bling s-award-bling__bronze" title="18 bronze badges">18</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-57935082"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status answered-accepted"> <strong>1</strong> answer </div> </div> </div> <div class="summary"> <h3><a href="../../questions/57935082/uri-string-variable-declared-in-prolog-returns-error-not-a-sub-type-of-xs-anyu" class="question-hyperlink">URI string variable declared in prolog returns error "not a sub-type of xs:anyURI"</a></h3> <div class="excerpt">In Xquery 3.1 (eXist 4.7) I am using the httpclient function to send GET requests: httpclient:get($url as xs:anyURI, $persist as xs:boolean, $request-headers as element()?) as item() My function looks like this: declare function example:get() { …</div> <div class="grid ai-start jc-space-between fw-wrap"> <div class="grid gs4 fw-wrap tags "> <a href="../../questions/tagged/xquery" class="post-tag grid--cell" title="show questions tagged 'xquery'" rel="tag">xquery</a> <a href="../../questions/tagged/exist-db" class="post-tag grid--cell" title="show questions tagged 'exist-db'" rel="tag">exist-db</a> </div> <div class="started mt0"> <div class="s-user-card s-user-card"> <time class="s-user-card--time" datetime="asked Sep 14 '19 at 11:31">asked Sep 14 '19 at 11:31</time> <a href="../../users/8623722/jbrehr" class="s-avatar s-avatar__32 s-user-card--avatar"> <img class="s-avatar--image" src="../../users/profiles/8623722.webp" data-jdenticon-width="32" data-jdenticon-height="32" data-jdenticon-value="jbrehr" /> </a> <div class="s-user-card--info"> <a href="../../users/8623722/jbrehr" class="s-user-card--link">jbrehr</a> <ul class="s-user-card--awards"> <li class="s-user-card--rep" title="reputation score">775</li> <li class="s-award-bling s-award-bling__silver" title="6 silver badges">6</li> <li class="s-award-bling s-award-bling__bronze" title="19 bronze badges">19</li> </ul> </div> </div> </div> </div> </div> </div> </div> <div class="mln24"> <div class="question-summary" id="question-summary-57844101"> <div class="statscontainer"> <div class="stats"> <div class="vote"> <div class="votes"> <span class="vote-count-post"><strong>0</strong></span> <div class="viewcount">votes</div> </div> </div> <div class="status "> <strong>0</strong> answers </div> </div> </div> <div class="summary"> <h3><a href="../../questions/57844101/xquery-can-t-access-xml-http-content-as-xml-document" class="question-hyperlink">Xquery can't access XML HTTP content as XML document</a></h3> <div class="excerpt">In HTTP POST requests, I am getting simple XML like this: <createcoll> <title>some foo title foouser1 foouser2 foouser3 foouser4
jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

optimizing two-step xquery for group and count

In my database (Xquery 3.1, eXist-db 4.7) I have 12,000+ TEI XML documents (examples), each of which can have multiple references to a single stand-alone TEI document of keywords. Each of these 12,000 example documents like the following, with…
jbrehr
  • 775
  • 6
  • 19
0
votes
0 answers

exist-db - file:move does not move document

In eXist 4.7 I am trying to move masses of documents into seperate collections. I build the new target collection dynamically from information in the document (@corresp). So this: for $doc in collection($globalvar:URIdb)//tei:TEI[@type="exempla"] …
jbrehr
  • 775
  • 6
  • 19
0
votes
2 answers

eXist-db collection sort

Following on from this question about navigating collections using pos: In eXist 4.7 I have a collection in myapp/data/ which contains thousands of TEI XML documents. I use the following solution from Martin Honnen to get the document before and…
jbrehr
  • 775
  • 6
  • 19
0
votes
1 answer

How to config Jetty to interpret correctly UTF-8 in filenames

After upgrading to eXist-db 4.7.0, we have now Jetty 404 errors for filenames with UFT-8 accented or Chinese characters. Any idea if there is a config file to manage that? For eg.: HTTP ERROR 404 Problem accessing…
Benoit
  • 1