dbTalk Databases Forums  

Implementing XQuery Functions using cpp

comp.databases.berkeley-db comp.databases.berkeley-db


Discuss Implementing XQuery Functions using cpp in the comp.databases.berkeley-db forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Balaji
 
Posts: n/a

Default Implementing XQuery Functions using cpp - 11-19-2005 , 07:39 PM






Hi,

I have been going through the Berkeley DB document on c++ API. I wish
to know how I can implement XQuery functions like the following in cpp.
Thanks in advance.

Balaji.

define function join(element $X, element $Y) returns element {
let $items := (for $item in $Y
where every $i in $X satisfies
$i != $item
return $item)
return $X union $items
}


Reply With Quote
  #2  
Old   
George Feinberg
 
Posts: n/a

Default Re: Implementing XQuery Functions using cpp - 11-20-2005 , 07:42 PM







Balaji,

At this time, Berkeley DB XML does not support user-written
XQuery functions in other languages (e.g. C++ or Java).
That feature is slated for a future release.

Regards,
George Feinberg
Sleepycat Software

Quote:
Hi,

I have been going through the Berkeley DB document on c++ API. I wish
to know how I can implement XQuery functions like the following in cpp.
Thanks in advance.

Balaji.

define function join(element $X, element $Y) returns element {
let $items := (for $item in $Y
where every $i in $X satisfies
$i != $item
return $item)
return $X union $items
}


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.