Re: [xsl] Can a streaming loop be inside a non-streaming loop?

Subject: Re: [xsl] Can a streaming loop be inside a non-streaming loop?
From: "Roger L Costello costello@xxxxxxxxx" <xsl-list-service@xxxxxxxxxxxxxxxxxxxxxx>
Date: Fri, 8 Aug 2025 15:57:59 -0000
This morning Michael Kay showed this streaming code:

<xsl:for-each select="/*/record/copy-of()">
          ...
</xsl:for-each>

His placement of copy-of() is interesting. Is the following loop equivalent?

<xsl:for-each select="/*/record">
      <xsl:variable name="record" select="copy-of()"/>
          ...
</xsl:for-each>

Is one form better/preferred?

/Roger

Current Thread