Valentina DB 4.1 Introduces Groundbreaking SQL Feature

David Bovill david.bovill at gmail.com
Wed Apr 22 10:33:39 EDT 2009


2009/4/22 Ruslan Zasukhin <sunshine at public.kherson.ua>

>
> Actually this is result of efforts as some of Valentina users, which was
> brave enough to DREAM aloud. So our team. Big amount of work in
> implementation of this task did Ivan.
>

 Ivan - your the man!

Have you read article, docs, examples deeply?
> Please do to not force us repeat them in letters :-)


Oh go on - just once :) Well maybe those on this list more familiar with
Valentina can help out here? How about this for a coding challenge:

   1. Take one arbitrary XML document - lets say an xHTML source somewhere
   out there on the web
   2. Write some Rev code to parse this and create a Valentina database (or
   can you do this with the XML functions in Valentina?)
   3. Be able to search the xHTML tree (from a given starting point) up,
   down and sideways, for content, node names or attributes.

At the moment we can only search for attributes in XML and loop through
other hierarchical data structures (ie arrays or XML with  our own recursive
algorithms) - having a robust SQL like query language to search and retrieve
data in arbitrary XML documents sounds too good to be true - even if we
can't do cyclical graphs yet :)



More information about the use-livecode mailing list