Re: [basex-talk] Who uses XQuery update? Dedicated wiki page for index updates?

2016-07-12 Thread Alex Muir
Greetings, It's a good idea... perhaps expand the concept to recommendations on how to deal with large dataset generally. I just had to write this fun script to unzip sets of xml files and split them into directories that were set of 100 files ( could have been more) because the insertion would o

Re: [basex-talk] retrieve a sequence of all values within an attribute index

2016-07-11 Thread Alex Muir
On Mon, Jul 11, 2016 at 7:17 PM, Lizzi, Vincent < vincent.li...@taylorandfrancis.com> wrote: > I have a similar situation in which I want to get all distinct values of a > specific attribute. I’ve tried using 2 different approaches: group and > distinct-values. On small or medium size databases gr

Re: [basex-talk] retrieve a sequence of all values within an attribute index

2016-07-11 Thread Alex Muir
Okay thanks I wrote the following query which returns 59 distinct periods from a 8gb db.. It's quite slow but it works let $periods := distinct-values(db:open("13F")//data/@periodOfReport) let $transform := { for $period in $periods return {$period} } return file:write('/var/www

Re: [basex-talk] retrieve a sequence of all values within an attribute index

2016-07-11 Thread Alex Muir
any way to retrieve the index for a specific attribute name? This returns the whole index xquery version "3.0"; declare namespace file="http://expath.org/ns/file";; declare namespace index="http://basex.org/modules/index";; let $periods := index:attributes("13F") return file:write('/var/www/appu

[basex-talk] retrieve a sequence of all values within an attribute index

2016-07-11 Thread Alex Muir
Greetings, I need to generate a list of all the distinct values within an index. Is there a way to retrieve a sequence of all values within an attribute index? Regards Alex tech.jahtoe.com bafila.jahtoe.com

Re: [basex-talk] db:attribute and eq unexpected behaviour

2016-07-09 Thread Alex Muir
Ah nevermind.. I just realized that some of the data has more than one form13FFileNumber which I had not seen before Sorry... Regards Alex tech.jahtoe.com bafila.jahtoe.com On Sat, Jul 9, 2016 at 8:32 PM, Christian Grün wrote: > Hi Alex, > > > So if I try to extract form13FFileNumber 028-111

[basex-talk] db:attribute and eq unexpected behaviour

2016-07-09 Thread Alex Muir
Hi, I have XML data with attributes that I've set in attribute indexes with the following consistent format but with different values form13FFileNumber="028-17473" form13FFileNumber="028-16573" When I query the data with following without indexes let $data := db:open('13F')//data[@form13FFileN

[basex-talk] using fuzzy in oxygen "invalid XQuery syntax, syntax does not pass static validation."

2012-11-29 Thread Alex Muir
23.82.41 Severity: error Description: Invalid XQuery syntax, syntax does not pass static validation. Would that be an xqj issue? -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Take a moment to listen to G

Re: [basex-talk] Time query takes looking for element with text() ID

2012-11-29 Thread Alex Muir
e Properties > > Name: F-DDEX > > Size: 5251 MB > > Nodes: 239945615 > > Documents: 7954 > > > > > > Specs Server: > > > > $ cat /proc/meminfo | grep MemTotal > > MemTotal:7633876 kB > > > > $ cat /proc/cp

[basex-talk] Time query takes looking for element with text() ID

2012-11-29 Thread Alex Muir
@ 2.66GHz model name: Intel(R) Xeon(R) CPU E5430 @ 2.66GHz Thoughts? Thanks -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Take a moment to listen to Gambia's - Amadu Diabarte &

Re: [basex-talk] BXS - indexes - specifying the index and database location

2012-11-29 Thread Alex Muir
change the location of your database > directory? This can be done by updating the DBPATH option in the > .basex configuration file [1]. > > Christian > > [1] http://docs.basex.org/wiki/Configuration > -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http:/

[basex-talk] BXS - indexes - specifying the index and database location

2012-11-28 Thread Alex Muir
tabase and indexes in /mnt/basex_volume/i4Base-Basex7.3/stores/sample-data/1997/ however I'm not clear on how to do this. I thought the would specify this Thoughts? Thanks -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/1

Re: [basex-talk] EXPath File Module within xqueries in oxygen?

2012-11-27 Thread Alex Muir
[2] http://www.zorba-xquery.com/html/modules/expath/file > [3] http://expath.org/spec/file > [4] http://docs.basex.org/wiki/Repository > -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Tak

[basex-talk] EXPath File Module within xqueries in oxygen?

2012-11-26 Thread Alex Muir
lex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Take a moment to listen to Gambia's - Amadu Diabarte & Jali Bakary Konteh www.bafila.bandcamp.com Your support keeps Africa'

Re: [basex-talk] Unable to integrate with oxygen to run xquery

2012-11-23 Thread Alex Muir
. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support On Fri, Nov 23, 2012 at 10:04 AM, Alex Muir wrote: > Hi Charles, > > I downloaded those. > > I'm starting fresh here this morning downloading the > http://files.basex.org/releases/7.3/BaseX73.zip which I

Re: [basex-talk] Unable to integrate with oxygen to run xquery

2012-11-23 Thread Alex Muir
j.basex.bin.m" I'm not sure how to resolve this one although > I > assume I'm missing something. > > > > > > I've started the server using the gui, loaded files into a db and used > the > gui server a

Re: [basex-talk] Unable to integrate with oxygen to run xquery

2012-11-22 Thread Alex Muir
ader > return $content[1] > > change anything? > > I just tried to set up the oxygen integration as depicted in our wiki and > it worked on Mac OS, using the 7.3 ZIP and the XQJ Drivers found @xqj.net > I know this "it works on my machine" probably does not help you

Re: [basex-talk] Unable to integrate with oxygen to run xquery

2012-11-21 Thread Alex Muir
admin > > password admin > > > > I > > set up a trasformation scenario with BaseX transformer with the > following > > xquery > > > -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com

[basex-talk] Unable to integrate with oxygen to run xquery

2012-11-21 Thread Alex Muir
admin I set up a trasformation scenario with BaseX transformer with the following xquery let $content := //MessageHeader return $content The scenario does not return any data Thoughts? Regards -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/p

[basex-talk] Saving xquery output to a file

2012-11-19 Thread Alex Muir
s -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 Love African Kora Music? Take a moment to listen to Gambia's - Amadu Diabarte & Jali Bakary Konteh www.bafila.bandcamp.com Your support keeps A

Re: [basex-talk] Regular Expression 'P{Ll}' raises error [FORX0004] Regular expression: 'Lexical error at line 1, column 3. Encountered: "L" (76), after : "{"'.

2012-09-25 Thread Alex Muir
nd: {3,2}' related to {3,280} if I change it to {3,80} the exception goes away Thanks Alex . On Tue, Sep 25, 2012 at 10:42 AM, Leo Wörteler wrote: > Hi Alex, > > Am 25.09.2012 15:45, schrieb Alex Muir: > > let $regex := 'P{Ll}' > > > > let $input := .//sub

[basex-talk] Regular Expression 'P{Ll}' raises error [FORX0004] Regular expression: 'Lexical error at line 1, column 3. Encountered: "L" (76), after : "{"'.

2012-09-25 Thread Alex Muir
path-functions-30/#ERRFORX0004>] if the value of $replacement contains a "$" character that is not immediately followed by a digit 0-9 and not immediately preceded by a "\". Let me know your thoughts Regards -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http:/

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
l') Thanks for all the help Cheers On Thu, Sep 13, 2012 at 10:16 AM, Alex Muir wrote: > Right, thanks > > Okay it now returns that it is using Saxon HE as the xslt processor > > however I still get the error > > Unknown function 'current-grouping-key(...)

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
-- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
java -cp saxon9he.jar;BaseX73.jar org.basex.BaseXGUI -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-kon

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
; Thanks, > Christian > ___ > > On Thu, Sep 13, 2012 at 3:47 PM, Alex Muir wrote: >> As I said in the first line of my post I'm looking at that module >> page. The page states that >> >> "XSLT 2.0 is used instead if Version 9.x of the Saxon XSLT Proc

Re: [basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
gt; > using xslt:processor() you can output if you're really using Saxon. > > Regards, > Max > > 2012/9/13 Alex Muir : >> Hi, >> >> Following the http://docs.basex.org/wiki/XSLT_Module >> >> I'm launching basex as follows >> >&g

[basex-talk] using xslt 2 --- Unknown function 'current-grouping-key(...)'.

2012-09-13 Thread Alex Muir
return xslt:transform($sections, $style) What am I doing wrong? Regards -- - Alex G. Muir Software Engineering Consultant Linkedin Profile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-kon

Re: [basex-talk] What is the easiest approach to edit data in a browser and have that data stored as xml in basex

2012-08-01 Thread Alex Muir
Forms implementations > > however. I've recently looked at X-Smiles, which looks fairly good > (haven't > > done actual work with it yet), but apparently development stopped in 2008 > > :-(. Betterform.de (used to be Chiba) is still going strong it seems. > > >

[basex-talk] What is the easiest approach to edit data in a browser and have that data stored as xml in basex

2012-07-31 Thread Alex Muir
ofile : http://ca.linkedin.com/pub/alex-muir/36/ab7/125 ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk

Re: [basex-talk] When running the basexhttp script I get the following error

2012-07-30 Thread Alex Muir
org/products/download/all-downloads/ > http://files.basex.org/releases/latest/ > > Hope this helps, > Christian > ___ > > On Mon, Jul 30, 2012 at 6:55 PM, Alex Muir wrote: >> Hi, >> >> When running the basexhttp script on ubun

[basex-talk] When running the basexhttp script I get the following error

2012-07-30 Thread Alex Muir
Any ideas what I'm doing wrong? Thanks -- - Alex G. Muir http://ca.linkedin.com/pub/alex-muir/36/ab7/125 ___ BaseX-Talk mailing list BaseX-Talk@mailman.uni-konstanz.de https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk