@Christian: Remember I’m having similar problems? Under some conditions, the
resource path seems to be wrongly set.
@Andy: What operating system, Java version etc. are you using? Anyway: I’d not
import the zip, but use git to fetch the code. A page in the documentation
describes the steps
Ok I have tried it on a win7 machine that has a Java6 (as well as Java7)
and it works.
The machine with the problem is win8.1 and has only Java7 (and Java8)
Should it be possible to get it to work without a Java6 install, by setting
the compiler compliance?
On 8 August 2014 07:47, Jens Erat
It is Kepler in both cases, but with different toppings.
The working one has:
Eclipse IDE for Java EE Developers 2.0.2.20140224- epp.package.jee
null
Eclipse Platform 4.3.2.M20140221-1700 org.eclipse.platform.ide null
Java EE IDE Feature 2.0.2.20140224-
Hi,
Can anyone help me with this casus?
I want to update XML-source: $a, by inserting the content of XML-element:
$b, a sub-element of $a, into XML-element: $c, also a sub-element of $a.
The relative path from $b to $c is known.
See attached example: the problem is that the update
Hi Rob,
I didn't find variable $c in your example, but the following modification
might give you the correct result:
let $update.processor := function($a, $b) {
($a update replace value of node ./default/text1 with ())
update insert node $b/string into .//default/text1
}
...or
Hi Christian,
Thanx for the ultra fast response.
The problem is that my actual program I dont know the path from the root
of $a to default/text1 ( $c), in this case: ./. Element:
default/text1 ( $c), could be located anywhere in $a.
I do know the relative path to default/text1
Hi,
Here is another thingy I tried but again: no cigar.
The problem would be solved if I could determine the absolute path to an
element-variable: $c
Rob
Van: Christian Grün [mailto:christian.gr...@gmail.com]
Verzonden: vrijdag 8 augustus 2014 16:04
Aan: Rob Stapper
CC: BaseX
Any other suggestions?
Hm, no easy one. You could pass on a function that does the navigation to
the relevant nodes:
let $f := function($node) { $node/update1 }
return $a update replace value of node $f(.) with bla
Christian
On Fri, Aug 8, 2014 at 4:26 PM, Rob Stapper
Hi,
I intended to use the 8.0 documented function map:for-each-entry but it
doesn't exist (tried latest snapshot).
So I thought I open modules.zip to look at the code. And, indeed it wasn't
there.
Second thing I noticed was a typo in the namespace.
Here are the exact locations:
https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/test.xq
https://github.com/BaseXdb/basex-dist/blob/94962bda4404ed8ddf0a541612e568f04484f4f4/etc/modules/map.xqm
--Marc
On Fri, Aug 8, 2014 at 7:26 PM, Christian Grün
I have uploaded a revised zip file [1]. I hope that I'll update these
(completely optional) files along with BaseX 8.0. - What did you use
them for?
[1] https://github.com/BaseXdb/basex-dist/tree/master/etc
On Fri, Aug 8, 2014 at 7:33 PM, Marc van Grootel
marc.van.groo...@gmail.com wrote:
Here
Oh I didn't even realize they were just for reference. I only looked at
them to confirm that map:for-each-entry wasn't there or maybe was named
differently. That's all.
--Marc
On Fri, Aug 8, 2014 at 7:40 PM, Christian Grün christian.gr...@gmail.com
wrote:
I have uploaded a revised zip file
Hi,
Could you, please, tell what can be wrong here.
This query works:
db:open(IntersectPhoneNumbers,Data/rent_flats.csv)/csv/record/UserPhone
With result:
UserPhone2218520/UserPhone
UserPhone2219391/UserPhone
UserPhone2348039/UserPhone
...
I can access the file directly from the query,
13 matches
Mail list logo