BaseX with a Booleen Column
Monday, 9 July 2012 · 2 messages
SC
Scott Clayton9 Jul 2012 09:40 #
Hey... I know this may be getting out of the native XML database talk but it would be great if we could add a column and mark as true or false when we grab the data from an external source and mark as gotten.
Anyways...just a thought. Maybe there is a plugin for this or something to the effect?
Best,
Scott
PS - I sent a similar email to the default contact at BaseX.org site and after I sent it there was a suggestion to send feature inquiries to this email... I could not find that suggextion until after I had already sent the email.
:-)
MS
Michael Seiferle9 Jul 2012 10:04 #
Hi Scott,
just for the sake of completeness I'll resend the email I privately sent from support at basex.org ;-)
Quoted text · Scott Clayton · 14 lines
> BaseX is a database that works schema-oblivious, i.e. for the sake of flexibility BaseX does not respect schema types when creating a database. > But: you are still available to use xs:boolean datatypes, by explicitly casting values to xs:boolean(): > > I added three examples in this gist for your convenience: > https://gist.github.com/919c89044265842590ca > > > You can find more information on types in XQuery here: http://www.w3.org/TR/xpath-datamodel/#types-hierarchy > Data types are usually determined at runtime, so the following will work even though there is no explicit type information in the XML fragment: > https://gist.github.com/9d0746ca3eaa383c28ab > > I hope this helps to clear things up a little. > > Kind regards from Lake Constance
Kind regards again :-))
Michael
Quoted text · Scott Clayton · 16 lines
Am 09.07.2012 um 07:40 schrieb Scott Clayton: > Hey... I know this may be getting out of the native XML database talk but it would be great if we could add a column and mark as true or false when we grab the data from an external source and mark as gotten. > > Anyways...just a thought. Maybe there is a plugin for this or something to the effect? > > Best, > > Scott > > PS - I sent a similar email to the default contact at BaseX.org site and after I sent it there was a suggestion to send feature inquiries to this email... I could not find that suggextion until after I had already sent the email. > > :-) > _______________________________________________ > BaseX-Talk mailing list > BaseX-Talk at mailman.uni-konstanz.de > https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk
Written for BaseX 7.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery