- From: Per Bothner <per@bothner.com>
- Date: Mon, 07 Jan 2002 12:24:33 -0800
- To: Vadim Draluk <vadim@draluk.net>
- CC: www-ql@w3.org
Vadim Draluk wrote: > Whenever XPath 2.0 is discussed in the latest specs, > its "host language" relationship is also addressed, > with XQuery being one of such languages. But is there > a notion of host language binding for XQuery itself, > the way it is supported for SQL preparation when the > latter is invoked through various APIs from Java, C++ > etc ? Do XQuery developers envision such use of XQuery This may not be quite what you're asking for. However: Kawa-XQuery (www.qexo.org) can co-exist quite well with Java. For example you can call Java methods and create Java objects from XQuery: <p>Today is <code>{make("java.util.Date")}</code></p> You can also evaluate XQuery expressions from Java, and use the result in Java. This all uses the existing Kawa framework, which has supported mixing Java and Scheme (compiled to bytecodes) for years. -- --Per Bothner per@bothner.com http://www.bothner.com/per/
Received on Monday, 7 January 2002 15:24:15 UTC