[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: [Xslt 3 Start] Use case for Function Call Invocati

Subject: Re: [Xslt 3 Start] Use case for Function Call Invocation
From: "Christophe Marchand cmarchand@xxxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 4 Feb 2021 09:48:02 -0000
Re:  [Xslt 3 Start] Use case for Function Call Invocati
Thanks a lot, mixed-language was indeed not in my mind when reading the 
recommandation !

Christophe

Le 04/02/2021 ` 10:08, Michael Kay mike@xxxxxxxxxxxx a icrit :
> If there's a use case for mixed-language programming, then there's a 
> use case for calling a function written in one language from a 
> function written in another.
>
> It's hard to dream up good use cases for mixed-language programming, 
> because it's something you generally want to avoid when you can. It 
> tends to happen when you are integrating code that already exists, and 
> that uses multiple languages for historic reasons.
>
> Michael Kay
> Saxonica
>
>> On 4 Feb 2021, at 08:08, Christophe Marchand cmarchand@xxxxxxxxxx 
>> <mailto:cmarchand@xxxxxxxxxx> 
>> <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx 
>> <mailto:xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>> wrote:
>>
>> Hello !
>>
>> Reading the recommandation, I was not able to imagine a use-case for 
>> Function Call Invocation 
>> <https://www.w3.org/TR/xslt-30/#invoking-initial-function>[1].
>>
>> Recommandation only speeks of raw result, and 2.3.5 section does not 
>> mention a "starting environment".
>>
>> Saxon implementation does not provide a command-line way to start a 
>> XSL with a function call invocation ; there is only an API method to 
>> do so. And in this case, a XDM value is return.
>>
>> Could W3C Xslt group members explain the motivation of such a 
>> starting way ?
>>
>> Does someone has a real use-case of this invocation ?
>>
>> Best regards,
>> Christophe
>>
>> [1] : https://www.w3.org/TR/xslt-30/#invoking-initial-function
>>
>> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
>> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/293509> 
>> (by email)
>
> XSL-List info and archive <http://www.mulberrytech.com/xsl/xsl-list>
> EasyUnsubscribe <http://lists.mulberrytech.com/unsub/xsl-list/2837134> 
> (by email <>)

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.