[XSL-LIST Mailing List Archive Home] [By Thread] [By Date]

RE: [xsl] xsl:sequence


Subject: RE: [xsl] xsl:sequence
From: "Michael Kay" <mike@xxxxxxxxxxxx>
Date: Mon, 7 Aug 2006 17:43:19 +0100

> on the other hand $a is a document structurally identical to 
> the current document but it is a copy, so it takes time and 
> memory proportional to the size of the document to build, 

That would be true in a naive implementation...

Saxon builds a virtual copy in cases where a copy of a document or element
node is not immediately attached to a new parent or written to a final
result tree. The virtual copy is initially cheap to build in time and
memory, but takes a little longer than the original to navigate.

Michael Kay
http://www.saxonica.com/


Current Thread