Hi,
I used fn:trace in code and I made sure it is not optimized away. Saw the
trace msg in the gui. But when doing it via the http server only the
standard request info is shown in the log
18:05:47.810 0:0:0:0:0:0:0:1:50364 admin REQUEST [GET]
http://localhost:8984/
18:05:49.234
Hello Marc,
The BaseX log only logs this HTTP requests and other internal stuff, as
you correctly observed.
As said in the documentation, the trace is sent to stderr, i.e. you can
redirect the standard error using normal unix tools. Starting basexhttp
like that
basexhttp 2 error.log
will log
Hi Dirk,
Got it. Silly me, wasn't paying enough attention to the console running
basexhttp while fiddling around. Thought it wouldn't be logged but it is.
Duh.
--Marc
On Sun, Aug 10, 2014 at 6:19 PM, Dirk Kirsten d...@basex.org wrote:
Hello Marc,
The BaseX log only logs this HTTP requests
Suppose I have a variable $xml containing the XML fragment
placesvillageWismar/villagecityAmsterdam/cityvillagePositano
village, Italy/villagecityPrague/city/places
In a static world I would list all cities with the XPath expression
$xml//city .
And the villages with $xml//village .
OK. No
Hi Paul,
xquery:eval() should be capable of doing what you want. Take a look at
the first example at https://docs.basex.org/wiki/XQuery_Module
Using the empty string for the binding binds the element as context item
(thus it must be a document). So the following should work for you:
5 matches
Mail list logo