|
From: Ben M. <mon...@us...> - 2007-01-22 10:09:14
|
Hi, I'm wondering if it is possible to use the example at [1] with a=20 expression->evaluate(document, ... which is not a document created by xqillaImplementation? Specifically I have a thin DomDocument wrapper for my virtual filesystem, libferris [2], which I want to pass to XQilla to have xqueries evaluated against a selected part of the virtual filesystem. I currently have xpath:// in libferris which uses pathan2 to evaluate, but would really like to use xqilla instead for query processing. =20 I'm still tinkering trying to get the above style to work but thought I'd ask if this is not a good way to go or if there is a specific code path to use if you have a DomDocument* which is created outside xqilla and want to xquery it. Thanks for any info. [1] http://xqilla.sourceforge.net/DOM3APIContextItem [2] http://witme.sourceforge.net/libferris.web/ |