Signature of db:add
Wednesday, 28 February 2018 · 2 messages
CG
Hi Tim,
When specifying a node as second argument, you’ll have to specify a target path as t third argument (because it cannot be derived from the input). See [1] for more information.
Cheers
Christian
[1] http://docs.basex.org/wiki/Database_Module#db:create
Quoted text · Tim Thompson · 19 lines
Tim Thompson <timathom at gmail.com> schrieb am Mi., 28. Feb. 2018, 19:27: > Hello, > > The two argument signature of the db:add function does not seem to work ( > http://docs.basex.org/wiki/Database_Module#db:add). Is this still valid > in BaseX? > > When I try something like db:add("test", <test/>), I get an error: > > [FODC0007] Resource path '' is invalid. > > Thanks! > > -- > Tim A. Thompson > Discovery Metadata Librarian > Yale University Library > >
TT
Tim Thompson28 Feb 2018 20:27 #
Hello,
The two argument signature of the
db:add function does not seem to work ( http://docs.basex.org/wiki/Database_Module#db:add). Is this still valid in BaseX?
When I try something like db:add("test", <test/>), I get an error:
[FODC0007] Resource path '' is invalid.
Thanks!--
Tim A. Thompson
Discovery Metadata Librarian
Yale University Library
Written for BaseX 8.6. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery