Thanks Michael for your quick response.


- Kunal


On Thu, May 2, 2013 at 6:59 PM, Michael Kay <mike@saxonica.com> wrote:

These are called "extension functions" in XSLT and "external functions" in XQuery. The documentation on how to achieve this is here:

http://www.saxonica.com/documentation/index.html#!extensibility

Michael Kay
Saxonica

On 2 May 2013, at 14:11, Kunal Chauhan wrote:

Hi,

I wants to bind function result to XQuery.
For Example there are some function call from the query, but I want to run those function in Java and whatever result comes as an
output, need to bind with Query as an output of that function.

I already gone through Function Extension, user-defiend function, From which you can call compiled querie's function from java.

Here I am mentioning an example which can help me to explain the scenario well.

Query :

    doSomething() eq node/@id

What I want is, this doSomething() I execute in java. this method is not available in query. I write it in java only. based on
method name it will execute it and whatever output comes, bind it to with query for further process.

is this possible?
can I bind value to the method, like we bind value to the external variable ?


Thanks and Regards,

--
Kunal Chauhan
[+918655517141]
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help


------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
saxon-help@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/saxon-help



--
Kunal Chauhan
mail4ck@gmail.com
[+918655517141]
[+919904983614]