Ted Hickox | 28 Aug 20:27 2015
Picon

eXist can't find my data

This is SVG_Ellipse.xml

<SVG_Data_Collection xmlns="http://www.TedTheSpeedlearner.com" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.TedTheSpeedlearner.com SVG_Ellipse.xsd">
     <X_Center_Coordinate>100</X_Center_Coordinate>
<Y_Center_Coordinate>100</Y_Center_Coordinate>
<X_Radius_Coordinate>40</X_Radius_Coordinate>
<Y_Radius_Coordinate>40</Y_Radius_Coordinate>
</SVG_Data_Collection>

This is SVG_Ellipse.xq

xquery version "3.0";
let $header-addition := response:set-header("Access-Control-Allow-Origin","*")
let $First_Data_Name := doc("SVG_Ellipse.xml")/SVG_Data_Collection/X_Center_Coordinate
let $Data := concat("cx = ",$First_Data_Name, " ")
let $Second_Data_Name := doc("SVG_Ellipse.xml")/SVG_Data_Collection/Y_Center_Coordinate
let $Data := concat($Data, "cy = ",$Second_Data_Name, " ")
let $Third_Data_Name := doc("SVG_Ellipse.xml")/SVG_Data_Collection/X_Radius_Coordinate
let $Data := concat($Data, "rx = ",$Third_Data_Name, " ")
let $Fourth_Data_Name := doc("SVG_Ellipse.xml")/SVG_Data_Collection/Y_Radius_Coordinate
let $Data := concat($Data, "ry = ",$Fourth_Data_Name, " ")
return (validation:clear-grammar-cache(), $Data)

The computer returns cx = cy = rx = ry =   It never returns the numbers between the center and radius coordinate elements of SVG_Ellipse.xml.  I have no idea why.  I hope you can assist me.
------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Adam Retter | 28 Aug 12:28 2015

[OT] ProseMirror - In-browser editor

I wouldn't normally do this, but I would just like to draw everyone's
attention to a project called ProseMirror which is trying to get
funded on IndieGoGo -
https://www.indiegogo.com/projects/prosemirror/#/story

I have no affiliation with the project I just think that it is really
cool and needs to get done. I am sure that many of you are often using
or looking for good in-browser editors for text, well Marijn at
ProseMirror is trying to build a really good one, take a look -
http://www.prosemirror.net

Having had a quick look around, it seems to me that with a little work
it should be possible to get an XML serialisation of the Markup out of
it.

Cheers Adam.

--

-- 
Adam Retter

eXist Developer
{ United Kingdom }
adam <at> exist-db.org
irc://irc.freenode.net/existdb

------------------------------------------------------------------------------
John Preimonas | 28 Aug 09:28 2015
Picon

Cannot load data into html

Hi,
I am trying to edit existing data and use bootstrap form before submitting the result to update.xq.
However, I am not successful in getting the data loaded into the form…
Nothing appears in the input fields.
Can you tell me what I am doing wrong here? (Don’t worry about the number of </div>s. This is an extract of
the total form, and I may have missed some out.) Do I have to go back to the Xquery example in your
documentation, e.g. xf:input, and xf:submit, etc?
Regards,
John

Code below:
xquery version "3.0";
declare option exist:serialize "method=xhtml media-type=text/xml indent=yes;
let $id := request:get-parameter('id', '')
let $data-collection := ‘/db/apps/sandpit/data/xXx’
let $person := doc($data-collection || '/' || $id || '.xml')//person

let $file := '../../../data/identities/' || $id || '.xml'
let $title := 'Edit xXx' 
return
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>{ $title }</title>
        <link rel="stylesheet" href="http://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/css/bootstrap.min.css"/>
    </head>
    <body>
        <div class="container">

    <form class="form-horizontal" role="form" action="update.xq" method="post">
        <div class="panel-group">
            <div class="panel panel-success">
                <div class="panel-heading">
                    <br/><br/>
                    <h3>Edit details
                        <small>Add a New and/or Update details of the xXx identity</small></h3>
                    <div class="btn-actions">
                        <a href="../../../search/search-form.html" class="btn btn-info">
                            <span class="glyphicon glyphicon-search"/> Search</a>
                        <a href="../../../index.html" class="btn btn-info">
                            <span class="glyphicon glyphicon-chevron-left"/>
                            <span class="glyphicon glyphicon-chevron-left"/>Main Menu</a>
                        <!-- <button type="button" class="btn btn-default">
                                    <span class="glyphicon glyphicon-chevron-left"/>Previous</button> -->
                        <button type="submit" class="btn btn-primary">Save</button>
                        <!-- <button type="button" class="btn btn-default">Next <span class="glyphicon
glyphicon-chevron-right"/></button> -->
                        <button type=“button” class=“btn btn-info”>Add NEW</button> <!— not used Yet —>
                    </div>
                </div>
                <div class="panel-body">

                    <div class="form-group">
                        <label for="idCode">Ref Code </label>
                        <input type="text" id="idCode" class="idCode"  placeholder="{$person/idCode/text()}"></input>
                    </div>
                    <div class="form-group">
                        <label for="idSurname">Surname </label>
                        <input id="idSurname" class="idSurname" placeholder="{$person/idSurname/text()}"></input> 
                    </div>
                    <div class="form-group">
                        <label for="idFirstname">First/other name(s) </label>
                        <input type="text" id="idFirstname" class="idFirstname"
placeholder="{$person/idFirstname/text()}"></input>    
                    </div>
                                <div class="form-group">
                                    <label for="idTitle">Title/Salutation</label>
                                    <input type="text" id="idTitle" class="idTitle"
placeholder="{$person/idTitle/text()}"></input> 
                                </div>
                                <div class="form-group">
                                    <label for="idKnownAs">Known As</label>
                                    <input type="text" id="idKnownAs" class="idKnownAs" placeholder="{$person/idKnownAs/text()}">
</input>    
                                </div>
                                <div class="form-group">
                                    <label for="idGender"> Gender</label>
                                    <select id="idGender" class="idGender">
                                            <option value="M">Male</option>
                                            <option value="F">Female</option>
                                    </select>
                                </div>
                                <div class="form-group">
                                    <label for="idMaidenname">Nee</label>
                                    <input type="text" id="idMaidenname" class="idMaidenname" 
placeholder="{$person/idMaidenname/text()}"></input>  
                                </div>
                    </div>

                        <div class="row">
                        <div class="col-md-6 panel panel-warning">
                        <div class="panel-heading">
                            <h3>Contact details</h3>
                        </div>
                        <div class="panel-body">
                            <div class="form-group">
                                <label for="idResidentialAddress">Address</label>
                                <input type="text" id="idResidentialAddress" class="idResindentialAddress"  placeholder="{$person/idResidentialAddress/text()}"></input>
                            </div>
                            <div class="form-group">
                                <label for="idPostalAddress">Postal</label>
                                <input type="text" id="idPostalAddress" class="idPostalAddress" placeholder="{$person/idPostalAddress/text()}"></input>
                            </div>
                            <div class="form-group">
                                <label for="idTown">Suburb/Town</label>
                                <input type="text" id="idTown" class="idTown"  placeholder="{$person/idTown/text()}"></input>
                            </div>
                            <div class="form-group">
                                <label for="idState">State/Provence</label>
                                <input type="text" id="idState" class="idState" placeholder="{$person/idState/text()}"></input>
                            </div>
                            <div class="form-group">
                                <label for="idCountry">Country</label>
                                <input type="text" id="idCountry" class="idCountry"
placeholder="{$person/idCountry/text()}"></input>    
                            </div>
                            <div class="form-group">
                                <label for="idPostcode">Postcode/Zip</label>
                                <input type="text" id="idPostcode" class="idPostcode"
placeholder="{$person/idPostcode/text()}"></input>    
                            </div> <br/>
                            <div class="form-group">
                                <label for="idTeleHome">Phone Home</label>
                            <input type="text" id="idTeleHome" class="idTeleHome"
placeholder="{$person/idTeleHome/text()}"></input>    
                            </div>
                                <div class="form-group">
                                <label for="idTeleBus">Bus.</label>
                                <input type="text" id="idTeleBus" class="idTeleBus" placeholder="{$person/idTeleBus/text()}"></input>
                            </div>
                            <div class="form-group">
                                <label for="idMobile">Mobile</label>
                                <input type="text" id="idMobile" class="idMobile"
placeholder="{$person/idMobile/text()}"></input>    
                            </div>
                            <div class="form-group">
                                <label for="idFax">Fax</label>
                                <input type="text" id="idFax" class="idFax" placeholder="{$person/idFax/text()}"></input>    
                            </div>
                            <div class="form-group">
                                <label for="idEmail">Email</label>
                                <input type="text" id="idEmail" class="idEmail"
placeholder="{$person/idEmail/text()}"></input>    
                            </div>
                            <div class="form-group">
                                <label for="idWebsite">Website</label>
                                <input type="text" id="idWebsite" class="idWebsite"
placeholder="{$person/idWebsite/text()}"></input>   
                            </div>

                        </div>
                        </div>
                </div>
            </div>
        </div>
    </form>
    </div>
    </body>
</html>

------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Roy Walter | 27 Aug 00:12 2015
Picon

Updates with CDATA via curl

Hi,

Trying to run this update over curl:

  $query = "<?xml version='1.0' encoding='UTF-8'?>
<query xmlns='http://exist.sourceforge.net/NS/exist'>
<text>
<![CDATA[update insert $xml into doc('/db/livehansard/dataset.xml')/*]]>
</text>
</query>";

Works fine >unless< $xml contains CDATA.

The same update in eXide works fine:

let $xml :=
<record doe='2015-08-26T10:19:46'>
<text>
    <![CDATA[<p>Some text</p>]]>
</text>
<doctype>hoco</doctype>
<department>Cabinet Office</department>
<subject>Rural broadband</subject>
<tags>test</tags>
<to>me <at> mail.co.uk</to>
</record>

return
update insert $xml into doc("/db/parl/dataset.xml")/*


Any tips?

Thanks and regards,
Roy


------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Oliver.Zmorek | 26 Aug 17:28 2015

reduce file size of dom.dbx and structure.dbx

Dear all,

 

we use exist-db to temporarily store small XML fragments (average size might be 20 KB). Then we do an overall report. The messages are archived for 2 or 3 months. If needed we can do a deeper analyze of the messages or we have the chance to take a closer look on particular messages. After that period the messages are deleted.

 

Our throughput is quite high on our live environment – there is no regular input, but the average could be around 20.000 messages per week.

 

I must admit that I’m not familiar with paging and indexing, so I did not get in touch with the details of these issues. We don’t have indexes in place – just the standard setup. This is also the case for all other parameters except memory which has been increased to avoid Java heap space.

 

Now I recognize that the dom.dbx and structure.dbx files are huge – together 50 GB! Of course, there were messages deleted in meantime. Currently there are around 410.000 messages.

 

I determine the same effect on test. So, I deleted mostly all messages from there, restarted the database and compared the file size, but nothing changed. Here both files have a size of 8 GB.

 

This effect seems to be similar to MySql – even when you remove table entries from database there, the size on store won’t be reduced. Here you have to backup the tables, remove everything, shutdown the database and finally re-store everything again which is a horrible procedure. Hopefully exist-db doesn’t torture me with a comparable scenario.

 

Finally, I have two questions:

 

1)      What can I do to reduce the size of both files immediately?

2)      What can I do to prevent me doing this again?

 

Best,

Oliver

------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
NueMeta | 25 Aug 19:42 2015

dynamically created predicates

I just recently ran into a situation where I could not come up with an XQuery statement that would properly handle this use-case. I think this is easier than I am thinking it is. Perhaps someone on this list and suggest a solution.

Situation: I have a list of values in a sequence (e.g. a sequence of country codes = ‘US’, ‘GB’, ‘FR’, ‘DE’, etc…) but I don’t know ahead of time how many values will be in my sequence. I then want to filter an XML sequence (e.g let $x := <trip><visited-countries><code>US</code><code>FR</code></visited-countries></trip>) using ALL of the values in my country code sequence. 

Normally, I would write a simple statement such as:

let $x := (<trip>
            <visited-countries>
            <code>US</code>
            <code>FR</code>
            </visited-countries>
            </trip>)
let $y := $x//visited-countries[code='US'][code=‘FR']
return $y

or 

let $y := $x//visited-countries[code = ‘US’ and code=‘FR’]

or 

let $y := $x//visited-countries where $y/code ='US' and $y/code='FR'

Since I don’t know how many values are in my country codes sequence, how do I dynamically create the predicates (or ‘where clause’) to contain ALL of the country codes in my sequence. 

Thanks in advance for the help.







------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Chris Tomlinson | 24 Aug 23:12 2015
Picon

exist 3.0 logging in tomcat problem

Hi,

I downloaded the exist-develop.zip from github for the current revision: latest commit 951bb7c055. I then did 

clean, all, and dist-war

these steps completed successfully. Running ./bin/startup.sh results in a fresh eXist-db on 8080.

I then copied the war fie to a working apache-tomcat-8.0.12 installation on Mac OS/X 10.10.5, java 1.8_60 and started it up; however, there is some sort of logging configuration issue and perhaps an issue with JNDIModule: 

24-Aug-2015 15:39:53.799 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist.war
11332 [WARN] WebFactory: Could not find /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist/WEB-INF/log4j.xml
15309 [ERROR] Configuration: Configuration problem: class not found for module 'http://exist-db.org/xquery/jndi' (ClassNotFoundException); class:'org.exist.xquery.modules.jndi.JNDIModule'; message:'org.exist.xquery.modules.jndi.JNDIModule'
24-Aug-2015 15:40:07.611 INFO [localhost-startStop-1] org.expath.pkg.repo.util.Logger.info Create a new repository with storage: File system storage in /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist/WEB-INF/data/expathrepo
16216 [WARN] URLStreamHandlerStartupTrigger: The JVM already has a URLStreamHandlerFactory registered, skipping...
16821 [WARN] Deployment: java.lang.IllegalArgumentException: Illegal QName: not a valid local name.
18103 [WARN] Deployment: java.lang.IllegalArgumentException: Illegal QName: not a valid local name.
24-Aug-2015 15:40:10.302 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist.war has finished in 16,503 ms


I commented out the JNDIModule in conf.xml and restarted without the JNDIModule related errors:

24-Aug-2015 15:46:02.449 INFO [main] org.apache.catalina.core.StandardEngine.startInternal Starting Servlet Engine: Apache Tomcat/8.0.12
24-Aug-2015 15:46:02.465 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deploying web application archive /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist.war
11092 [WARN] WebFactory: Could not find /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist/WEB-INF/log4j.xml
24-Aug-2015 15:46:16.246 INFO [localhost-startStop-1] org.expath.pkg.repo.util.Logger.info Create a new repository with storage: File system storage in /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist/WEB-INF/data/expathrepo
15726 [WARN] URLStreamHandlerStartupTrigger: The JVM already has a URLStreamHandlerFactory registered, skipping...
24-Aug-2015 15:46:17.089 INFO [localhost-startStop-1] org.apache.catalina.startup.HostConfig.deployWAR Deployment of web application archive /usr/local/ZZZ/apache-tomcat-8.0.12/webapps/exist.war has finished in 14,624 ms

but there are no log files in webapp/exist/WEB-INF/logs or webapp/exist/WEB-INF/loggerdir. Instead when I load the dashboard there is logging related to eXist-db threads in the tomcat localhost.log:

24-Aug-2015 16:00:30.140 FINE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart Starting filters
24-Aug-2015 16:00:30.140 FINE [localhost-startStop-1] org.apache.catalina.core.StandardContext.filterStart  Starting filter 'Tomcat WebSocket (JSR356) Filter'
24-Aug-2015 16:01:34.679 FINE [http-nio-51173-exec-2] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:34.679 FINE [http-nio-51173-exec-2] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: org.exist.http.urlrewrite.XQueryURLRewrite$CachingResponseWrapper
24-Aug-2015 16:01:34.995 FINE [http-nio-51173-exec-2] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:34.995 FINE [http-nio-51173-exec-2] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: org.exist.http.urlrewrite.XQueryURLRewrite$CachingResponseWrapper
24-Aug-2015 16:01:35.022 FINE [http-nio-51173-exec-8] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:35.022 FINE [http-nio-51173-exec-8] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: de.betterform.agent.web.filter.BufferedHttpServletResponseWrapper
24-Aug-2015 16:01:35.022 FINE [http-nio-51173-exec-4] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:35.022 FINE [http-nio-51173-exec-4] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: de.betterform.agent.web.filter.BufferedHttpServletResponseWrapper
24-Aug-2015 16:01:35.022 FINE [http-nio-51173-exec-3] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:35.023 FINE [http-nio-51173-exec-3] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: de.betterform.agent.web.filter.BufferedHttpServletResponseWrapper
24-Aug-2015 16:01:35.027 FINE [http-nio-51173-exec-10] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:35.027 FINE [http-nio-51173-exec-10] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: de.betterform.agent.web.filter.BufferedHttpServletResponseWrapper
24-Aug-2015 16:01:35.054 FINE [http-nio-51173-exec-6] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:35.054 FINE [http-nio-51173-exec-6] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: org.exist.http.urlrewrite.XQueryURLRewrite$CachingResponseWrapper
24-Aug-2015 16:01:35.139 FINE [http-nio-51173-exec-7] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:35.140 FINE [http-nio-51173-exec-7] org.apache.catalina.core.ApplicationDispatcher.doForward  The Response is vehiculed using a wrapper: org.exist.http.urlrewrite.XQueryURLRewrite$CachingResponseWrapper
24-Aug-2015 16:01:35.144 FINE [http-nio-51173-exec-9] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output
24-Aug-2015 16:01:35.144 FINE [http-nio-51173-exec-5] org.apache.catalina.core.ApplicationDispatcher.doForward  Disabling the response for futher output

This sort of output occurs anytime I access eXist-db via dashboard or monex or eXide.

Other than this logging problem eXist-db seems to be working in this configuration - very little testing however.

Any ideas about what’s happening with the logging?

Thanks,
Chris





------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Jozef Aerts | 24 Aug 22:05 2015

XQuery: comparing order of items in two sequences

I have the following two sequences:


let $identifiers := ('STUDYID','DOMAIN','USUBJID','POOLID','SPDEVID','AESEQ','AEGRPID','AEREFID','AESPID','AELNKID','AELNKGRP')


let $vars := ('STUDYID','DOMAIN','SPDEVID','AESEQ','AESPID')


comparing the two sequences should return "true" as all items from $vars are in $identifiers and are in the same order.


However, the following sequence should return "false" when comparing with $identifiers:


let $vars := ('STUDYID','DOMAIN','AESEQ','AESPID','SPDEVID')


as the items in $vars are not in the same order as in $identifiers.
Remark: none of the two sequences contains duplicates, and we already checked before whether all items from $vars are really in the sequence $identifiers using functx:is-value-in-sequence


I tried a few things using "intersection" and comparing the result with $vars, but did not find a solution sofar.
Has anyone an idea how this can be solved? I'm not that good yet in XQuery ...


Many thanks in advance,


Jozef

------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Misztur, Chris | 24 Aug 16:06 2015

<?xml?> and DOCTYPE usage

Hello.

 

What is the proper way to use the xml decralation element and DOCTYPE in the below code?

 

httpclient:post(

                xs:anyURI("http://"||$printer/feedback/ipAddress/text()||"/pstprnt"),

                (<?xml version="1.0" standalone="no"?>,

                <!DOCTYPE labels SYSTEM "label.dtd">,

                <labels _FORMAT="{$zombie/ <at> format/string()}" _QUANTITY="1" _PRINTERNAME="{$printerUniqueId}" _JOBNAME="X">

                    {$payload}

                </labels>),

                false(),

                ())

 

 

Thanks

/chris



The contents of this message may be privileged and confidential. Therefore, if this message has been received in error, please delete it without reading it. Your receipt of this message is not intended to waive any applicable privilege. Please do not disseminate this message without the permission of the author.

Please consider the environment before printing this e-mail

------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Claude Nanjo | 23 Aug 23:10 2015
Picon

No session manager using exist client.

RE: Failed to invoke method queryP in class org.exist.xmlrpc.RpcConnection: java.lang.IllegalStateException: No SessionManager

I ran into the same obscure error and I was able to fix the issue but upgrading my dependency on existdb-core 2.1 to 2.2. I hope this helps others.

<dependency>

      <groupId>org.exist-db</groupId>

      <artifactId>existdb-core</artifactId>

      <version>2.2</version>

</dependency>


------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open
Alberto Simões | 21 Aug 19:32 2015
Picon

Exporting query results from eXide

Hello,

Is there easy way to, from eXide, execute a query and save the output, without letting the browser construct the DOM for the resulting XML document?

Basically, I want to run a query that returns a LOT of elements, and would like to save it to an XML file. But I know that, if I select the direct output method, Firefox will receive the XML file and try to parse it... and crash :-)

Or, if not possible within eXide, what would be the suggested approach?

best,
Alberto

--
Alberto Simões
------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/exist-open

Gmane