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

Re: are there non streaming use cases of fn:snapshot

Subject: Re: are there non streaming use cases of fn:snapshot function
From: "Mukul Gandhi gandhi.mukul@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 15 Mar 2019 08:55:58 -0000
Re:  are there non streaming use cases of fn:snapshot
Hi Mike,
   Thanks for the comments. They're helpful.

On Fri, Mar 15, 2019 at 2:12 PM Michael Kay mike@xxxxxxxxxxxx <
xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx> wrote:

> I can't think of any persuasive use cases. If your original data fits in
> memory, then there is little reason to make a snapshot copy of it, you
> might as well use the original. The point about snapshot is that it is
> designed to capture the content of a node and its immediate "relatives"
> (the ones you are most likely to need access to) without the memory
> overhead of holding the whole document; so it's all about memory use.
>
> I guess there could be cases where the output of snapshot() happens to be
> exactly the data that you want to put into a serialized message and send to
> some other system, but it's more likely in general that you would want to
> control the message content more precisely than this.
>
> Michael Kay
> Saxonica
>




-- 
Regards,
Mukul Gandhi

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.