Hi Vincent,
(# db:chop false #) { let $xslt := doc('stylesheet.xsl')
return xslt:transform-text($doc, $xslt) }
I should be sufficient to pass on the filename to the XSLT processor:
xslt:transform-text($doc, 'stylesheet.xsl')
You can do the same with the document input.
If you, or someone
Hi Florian,
I just remembered I skipped a part of your question:
A further question: Is it planned to integrate the newest jetty version 9+
into basex to use HTTP/2 ?
If not, is there a way to integrate it on my own? Do I have to replace the
jetty classes only?
We tend to work with versions
Hi Martin,
I must confess I didn't check all the details in your mail, and I
haven't stumbled across something like SIGPIPE errors before, but I
would be interested to hear if the problem als occurs...
a) with a single thread, or
b) if you don't reuse existing sessions?
Thanks in advance,
Hi Christian,
thanks. Thats a good idea. I will try it.
Cheers
Florian
Am 28.07.2015 4:25 nachm. schrieb Eckey, Florian florian.ec...@adesso.de
:
Hi guys,
i have a problem with the basex package mechanism. I tried to install a
self implemented xar file including java classes. In version 7
Hi,
I will indeed try to investigate it a little more.
Reason for being multithreaded producer-consumer si simple -- single thread
solution is _very_ slow, even now it takes hours to complete.
Now I am not reusing sessions -- each org.basex.core.cmd.Add command opens
and closes its own session,
Reason for being multithreaded producer-consumer si simple -- single thread
solution is _very_ slow, even now it takes hours to complete.
I see. So just in case it would be interested if the problems also
occur with a single thread.
Is it a bug in BASEX (not releasing resources properly?) or
Hi,
I want to load document having a http url from local cache directory. Is
there a way i can resolve http url to my local cache directory. For example
let $file := doc(http://abc.com/example.xml;)
should resolve example.xml from c:\documents\repo\http\abc.com\example.xml
Thanks,
Anky
Hi Anky,
just write a simple resolver in XQuery. This is a simple example how to do it:
declare variable $BASE := c:\documents\repo\;
declare function local:resolve($url) {
$BASE || replace($url, 'http://', '')
};
doc(local:resolve(http://abc.com/example.xml;))
Cheers,
Christian
As part of my DITA For Small Teams project we're setting up a set of
coordinated Docker containers to manage the various components (git
server, Jenkins server, BaseX server). We're setting up our own custom
containers so that they are appropriately pre-configured.
In the case of BaseX that means
Hello Eliot,
interesting question, we are tackling the problem ourself at the moment.
I created a BaseX docker HTTP image and we might want to include it in
streamline BaseX repo in some point in the future. You can find the repo
at https://github.com/dirkk/docker-basexhttp
For now, the docker
Hi,
I'm not really familiar with the formulation of the xquery standard.
Should code of this type depending on the short-circuit evaluation of
the and operator evaluate correctly?
declare variable
$version:=1;
Hi Pablo,
Should code of this type depending on the short-circuit evaluation of the
and operator evaluate correctly?
Yes, it does. Here is a mini example (it would raise an error otherwise):
1 or error()
Hope this helps,
Christian
Hi Christian,
Thanks for the answer.
It seem that if there is a call to the doc function it doesn't
short-circuit.
Your exemple work, however this one does not:
1 or doc('non_existent')
Which return [FODC0002] Resource '/home/pablo/nonex' does not exist.
With respect of your answer I
On 05/08/15 19:59, Strasser Pablo wrote:
Hi Christian,
Thanks for the answer.
It seem that if there is a call to the doc function it doesn't
short-circuit.
Your exemple work, however this one does not:
1 or doc('non_existent')
However this one work:
declare %basex:lazy variable
Reusing sessions within the same thread resulted in many live threads at
BASEX server -- and probably in SIGPIPE errors after a while.
Using new session for every Add command solved the problem. Opening and
closing a session (as measured) is acceptable performance penalty.
Regards,
Martin
On
Hi,
Thanks for the prompt reply. I have set catalog file using GUI and tried
firing following query.
Catalog File ::
?xml version=1.0?
catalog prefer=system
xmlns=urn:oasis:names:tc:entity:xmlns:xml:catalog
rewriteSystem systemIdStartString=http://;
16 matches
Mail list logo