Re: [basex-talk] RESTXQ and Website-Building (search-form)

2016-04-11 Thread kleist-digital
Hi Christian, hi Marco, I checked the docs and I managed a solution, but it’s combined with the more classical assemble-page approach. [1] In Marco’s approach using xquery:invoke there is an index.xqm, which handles all XQuery annotations for RESTXQ. They are all based an %rest:GET, but for

[basex-talk] insert an xml structure in database

2016-04-11 Thread Oleg Duvanayev
dear lady and gentlemen,   i have to add in a test database the simple document. I use the database, which is running as web-application in tomcat and access to database i do with REST. I tried to use this approatch, but it doesn't work for me. I take always the message "Bad request":    

Re: [basex-talk] XLSX to XML

2016-04-11 Thread Eliot Kimber
I've written some XSLT to handle some of XSLX in the context of my Word-to-DITA transformation framework: https://github.com/dita4publishers/org.dita4publishers.word2dita/tree/devel op/xsl The business logic should be relatively easy to recode as Xquery if appropriate. In addition, the Apache

Re: [basex-talk] RESTXQ and Website-Building (search-form)

2016-04-11 Thread Christian Grün
Hi Günter, I recommend you to check out our RESTXQ documentation [1], and the example you get displayed after starting basexhttp and visiting http://localhost:8984/. In the next step, the DBA code should give you many helpful hints (but it may be too advanced to start off with). Hope this helps

Re: [basex-talk] RESTXQ and Website-Building (search-form)

2016-04-11 Thread Marco Lettere
Hi Günter, to me these feel like really general questions about using XQuery/RestXQ so I'd definitely hook up Christian's advice to have a look at the docs and at the examples you can find in the webapp/dba folder of your BaseX installation. Regards, Marco. On 11/04/2016 15:50,

Re: [basex-talk] RESTXQ and Website-Building (search-form)

2016-04-11 Thread kleist-digital
Hi Marco, one problem I achieved: how to handle a simple search-form with your approach or with RESTXQ in generell? I have to modules: search.xqm and results.xqm. - How do I have to handle the RESTXQ-Annotations in index.xqm and or searchxqm, so that the query-params are transferred to

Re: [basex-talk] XLSX to XML

2016-04-11 Thread Florian Eckey
Hi Christian, I have only seen that there exists a function in MarkLogic for reading excel files or especially convert excel to xhtml, but it looks like (as in the example) MarkLogic can only process xls files, not xlsx. https://docs.marklogic.com/xdmp.excelConvert Looks like it does not