Re: [basex-talk] 500 Error when using org.basex.modules.fop.FOP

2016-01-26 Thread Chris Speare
Ah thanks Christian I didn't see that it could only be XLST made the assumption as it was FOP it would be an fo file - I'll have to read up on XSLT for PDF and see about converting my document. This was through the http interface running a query directly, so I'll have to play about with the

Re: [basex-talk] Status of BaseX Docker Container?

2016-01-26 Thread Christian Grün
Hi Eliot, Personally, I had a hard time making Docker work on Windows machines, but we have various Docker aficionados in our team and around, so I hope they’ll give you some feedback soon. Cheers, Christian On Sun, Jan 24, 2016 at 8:22 PM, Eliot Kimber wrote: > I'm

[basex-talk] get and extract .gz files from web

2016-01-26 Thread Marc van Grootel
Hi, I hoped that I could use archive module to also extract gzipped files. I need to fetch/sync large XML from a web service that has the option of getting files with gzip encoding (to be nice to the web server). First attempt was to explicitly get the gz file via the URL and then treat it like

Re: [basex-talk] get and extract .gz files from web

2016-01-26 Thread Marc van Grootel
Well, shelling out wasn't so hard even on Windows with cygwin tools it's simply proc:execute('gunzip', $path-to-gzipped-file) Worked quite transparently as it extracts the files and removes the .gz file. Would be nice if there's a pure XQuery solution but for now I'm okay. Cheers, On Tue,

Re: [basex-talk] Connecting database in C#

2016-01-26 Thread Bhander, Gurbakhash S.
Hi, I'm Raj working for the U.S. EPA. I'm building an interface on the basex database. I would like to connect the database with one of my grid and charts. How can I connect this database with Grid Components using C#. Do you have any example? Thank you - Raj

Re: [basex-talk] Connecting database in C#

2016-01-26 Thread Christian Grün
Hi, Did you already have a look at our light-weight C# binding [1]? Best, Christian [1] http://docs.basex.org/wiki/Clients On Tue, Jan 26, 2016 at 4:24 PM, Bhander, Gurbakhash S. wrote: > Hi, > > > > I’m Raj working for the U.S. EPA. I’m building an interface on

Re: [basex-talk] Connecting database in C#

2016-01-26 Thread Bhander, Gurbakhash S.
I guess, I am missing to start the BaseX server instance. Raj -Original Message- From: Christian Grün [mailto:christian.gr...@gmail.com] Sent: Tuesday, January 26, 2016 10:41 AM To: Bhander, Gurbakhash S. ; BaseX

Re: [basex-talk] Status of BaseX Docker Container?

2016-01-26 Thread Eliot Kimber
OK, I'm going to proceed with making a generic basex Docker container in the DFST Docker project on GitHub. I'm using Andreas' as a starting point but it's pretty trivial. I'm working/testing on OS X, Windows, and CentOS so I should be able to get something going. Cheers, E. Eliot Kimber,

Re: [basex-talk] Connecting database in C#

2016-01-26 Thread Christian Grün
Hi Raj (cc to the list), > Yes, I did. I have created a Session class (provided online) but unable to > connect it to the existing database. > // create session > Session session = new Session("localhost", 1984, "admin", "admin"); > > It doesn't find the localhost on my machine.

Re: [basex-talk] get and extract .gz files from web

2016-01-26 Thread Maximilian Gärber
Hi, I think this should work, I use it for OData requests from IIS. Need to dig through the source...but I used one oft the extract-binary functions Regards, Max Am 26.01.2016 16:04 schrieb "Marc van Grootel" : > Well, shelling out wasn't so hard even on Windows

Re: [basex-talk] get and extract .gz files from web

2016-01-26 Thread Andy Bunce
Hi Marco, I get the same. This works: "https://wiki.mozilla.org/images/f/ff/Example.json.gz; !fetch:binary(.) !archive:extract-text(.) But this returns empty: "https://wiki.mozilla.org/images/f/ff/Example.json.gz; !fetch:binary(.) !archive:entries(.)

Re: [basex-talk] Status of BaseX Docker Container?

2016-01-26 Thread Eliot Kimber
For what it's worth, I've pushed a generic BaseX HTTP container to Docker Hub as "dfst/basex". It exposes the default ports for the base and HTTP servers (1984 and 8984). >From a Linux system you connect by using the IP address of the Docker network, e.g.: http://172.17.0.2:8984/ Under Windows:

Re: [basex-talk] Status of BaseX Docker Container?

2016-01-26 Thread Eliot Kimber
Forgot to add the Windows part: Under windows have to explicitly publish the ports when running the container: docker run --name=basex -p 8984:8984 -p 1984:1984 dfst/basex then you can use the IP address of the docker-engine VM to connect to the server: http://192.168.99.100:8984/ you can get