Subject: Re: [xsl] 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 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] are there non streaming u, Michael Kay mike@xxx | Thread | [xsl] json to json transformation, Mukul Gandhi gandhi. |
Re: [xsl] are there non streaming u, Michael Kay mike@xxx | Date | [xsl] json to json transformation, Mukul Gandhi gandhi. |
Month |