How to use XQuery functions from XSL?
Replies (1)
Please register to reply
Added by Anonymous about 20 years ago
Legacy ID: #2865557 Legacy Poster: Kesav Kumar (kesav)
I understand XQuery and XSL uses same runtime environment. How can I invoke XQuery functions from XSL? Can any one give me a small example how to do this? Thanks
Legacy ID: #2865595 Legacy Poster: Michael Kay (mhkay)
If you mean user-written functions written in XQuery, you can import an XQuery module into XSLT using saxon:import-query and then invoke the functions defined in that query module. The reverse isn't currently possible. Michael Kay
Please register to reply