I have some Java methods which return time elements and or Maps and I was
trying to convert these into XQuery atomic values with no luck. Is there a
utility for these?
Array has ``fromValues`` and all other types like ``Str`` have ``get`` but
Map, Tim, Dtn, ADate do not appear to be
I am having issues with the new json-to-xm functions with a copy clause.
I would expect the following query to work:
*let $json := '{age:23,name:Bob}'return copy $out :=
json-to-xml($json) modify delete node $out//*[@key='age'] return
xml-to-json($out)*
Instead I get an error when
Hey Everyone,
I am having issues with using the Oracle 1.7 JDBC driver.
I copied the ojdbc7.jar file into the lib directory
Ran the basexgui.bat to add to class path
Tried to run this script:
let $conn := sql:init('jdbc:oracle:thin:pnm/pnm@orc1n.giants')
return
(sql:execute($conn, 'SELECT
Hello Christian,
Thanks for the response. I figured out how to get around my issue. Add the
method=text attribute to the http:body.
http:body media-type=application/json
method=text{json:serialize($body)}/http:body
- James
On Tue, Feb 17, 2015 at 1:37 PM, Christian GrĂ¼n
Hello everyone,
First, I want to say that I really like the JSON improvements in BaseX 8.0.
Great job.
I am however having an issue when posting JSON with markup in it. For
example:
let $out := map {
name: 'myView',
markup: div name='value'Some other stuff/div
}
A great online open source editor is ace.js. There is XQuery 3.0 compliant
language processor for it, plus its styleable and again open source. Supports
20+ languages including but not limited too:
CSSHTMLJavaC#PythonRubyPHPJavascriptXQuery 3.0
etc.
Also its extremely extensible. To add it to a
AH!
Well its my fault. Several weeks of work lost because I uninstalled 7.7 and it
removed the repo directory with all my modules! Just wanted to give the fair
warning.. Time to get a drink... I was going to put that in Drop Box last week
and never got to it!!
- James
___
2013/8/2 James Wright james...@hotmail.com:
Hey BaseX Team,
Im trying to serialize some JSON in order to make a few calls to an
external
api. In the json I need to include 'html' for example:
{
subject: Test Subject,
content: {
type: text/html
Hey BaseX Team,
Im trying to serialize some JSON in order to make a few calls to an external
api. In the json I need to include 'html' for example:
{ subject: Test Subject, content: { type: text/html,
text: divh2Issue:/h2/div},type: document}
When I call the
Hey,
In the BaseX implementation this query:
($context//*[name() = $type and data((*|@*)[name() =
$entityMetadata/property[@key = 'true']/@name]) = $entityId])[1]
Will the query execute completely and then a 'subset' of 1 will be extracted,
or will it only execute until it find the '1st' item
this helps,
Christian
___
On Tue, May 21, 2013 at 9:42 PM, James Wright james...@hotmail.com wrote:
Hey,
In the BaseX implementation this query:
($context//*[name() = $type and data((*|@*)[name() =
$entityMetadata/property[@key = 'true']/@name]) = $entityId])[1
In the W3C specs it says this method should generate the same ID for a node
regardless of when its called. Is this how it is implemented in BaseX or does
it simply generate a random number? My testing seems to implicate the ladder.
If it does generate the same ID for each node each time its
are
always invited to read the dissertation in more detail ;)
[1] http://docs.basex.org/wiki/Database_Module#db:open-pre
[2] http://docs.basex.org/wiki/Node_Storage
___
On Mon, May 20, 2013 at 10:46 PM, James Wright james...@hotmail.com wrote:
How did I not notice
Is it possible to write a custom serializer parser for BaseX?
___
BaseX-Talk mailing list
BaseX-Talk@mailman.uni-konstanz.de
https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
, but on the other hand the use of XQuery as
a back-end for Web Apps is definitely on the increase]
On Tue, 2013-05-14 at 11:14 -0600, James Wright wrote:
Hello Again,
If this is the wrong forum for these type of questions let me know. By
the way Liam I picked up your book last night, I like
Hello BaseX-Talk,
I am new to the boards and BaseX in general. I have been looking for a open
source NoSQL database with expressive query abilities and I think BaseX fits
the bill. Its been an exciting journey as I am new to the whole X platform
aside from the angle brackets... As I think many
On Mon, 2013-05-13 at 19:15 -0600, James Wright wrote:
[...] I know the xml standard defines id and idref however I have not
been able to find any documentation on these in BaseX or XML in
general. For example does BaseX handle idiosyncrasies of id and idref
or must I handle these in my
17 matches
Mail list logo