Can the Zorba XQuery processor PHP API bind to variables declared as external within an xquery?
For example this line in an xquery would bind to an external variable named $foo;
declare variable $foo as xs:string external;
But I can't find an example in the Zorba PHP API documentation showing how to do the PHP part of the bind, so that the PHP variable $foo becomes bound to the xquery variable $foo.
Can it be done?
set_variable()function in the PHP API. I don't know it specifically for PHP, but the C API has this. - hakre