Calling XSLT from XQuery

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Calling XSLT from XQuery

Norman Walsh
saxon:compile-stylesheet and saxon:transform appear to allow me to
compile and evaluate an XSLT stylesheet from XQuery. The optional
third argument to saxon:transform allows me to specify parameters.

Is there really no way to specify the intial mode or inital template
name?

                                        Be seeing you,
                                          norm

--
Norman Walsh <[hidden email]> | The perfect man has no method; or
http://nwalsh.com/            | rather the best of methods, which is
                              | the method of no-method.-- Shih-T'ao

------------------------------------------------------------------------------

_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help 

signature.asc (178 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Calling XSLT from XQuery

Michael Kay
The new fn:transform() function in XQuery 3.1 fills this gap. Sorry it's been a long time a-coming!

Michael Kay
Saxonica


> On 18 Nov 2015, at 14:38, Norman Walsh <[hidden email]> wrote:
>
> saxon:compile-stylesheet and saxon:transform appear to allow me to
> compile and evaluate an XSLT stylesheet from XQuery. The optional
> third argument to saxon:transform allows me to specify parameters.
>
> Is there really no way to specify the intial mode or inital template
> name?
>
>                                        Be seeing you,
>                                          norm
>
> --
> Norman Walsh <[hidden email]> | The perfect man has no method; or
> http://nwalsh.com/            | rather the best of methods, which is
>                              | the method of no-method.-- Shih-T'ao
> ------------------------------------------------------------------------------
> _______________________________________________
> saxon-help mailing list archived at http://saxon.markmail.org/
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/saxon-help



------------------------------------------------------------------------------
_______________________________________________
saxon-help mailing list archived at http://saxon.markmail.org/
[hidden email]
https://lists.sourceforge.net/lists/listinfo/saxon-help