Hi all,
The XSLT 3.0 spec section mentioned in subject, has the following
example at the beginning,
<xsl:source-document streamable="yes" href="book.xml">
<xsl:for-each select="book">
<xsl:for-each select="chapter">
<xsl:result-document href="chapter{position()}.xml">
<xsl:copy-of select="."/>
</xsl:result-document>
</xsl:for-each>
</xsl:for-each>
</xsl:source-document>
I think that, it may be better to have above example as follows,
<xsl:source-document streamable="yes" href="book.xml">
<xsl:for-each select="/book">
<xsl:for-each select="chapter">
<xsl:result-document href="chapter{position()}.xml">
<xsl:copy-of select="."/>
</xsl:result-document>
</xsl:for-each>
</xsl:for-each>
</xsl:source-document>
(I guess, the XSLT 4.0 spec intends to say one book with above example)
Thanks for any comments.
--
Regards,
Mukul Gandhi
--~----------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
EasyUnsubscribe: http://lists.mulberrytech.com/unsub/xsl-list/1167547
or by email: xsl-list-unsub(_at_)lists(_dot_)mulberrytech(_dot_)com
--~--