On Fri, 07 Oct 2016 08:52:18 -0700, Hans Hübner  
<[email protected]> wrote:

> Hi folks,
>
> is there a way to make xsl:result-document insert the document into the
> database rather than returning it to the XQuery that invoked the XSLT
> transformation?  We know that we can use xdmp:document-insert from  
> XQuery,
> but I'd prefer if the documents that I create in XSLT would be inserted
> directly, without first instantiating all of them in memory.
>
> Thanks,
> Hans
>

No, there isn't. XSLT processing is building the document's data model in  
memory regardless, incrementally as it goes. Document insert also needs to  
have the data model on hand in order to do indexing once the commit  
happens, so you can't really get around this.

//Mary
_______________________________________________
General mailing list
[email protected]
Manage your subscription at: 
http://developer.marklogic.com/mailman/listinfo/general

Reply via email to