W3C home > Mailing lists > Public > xsl-editors@w3.org > October to December 2000

Why doesn't xsl:copy have a select attribute?

From: Evan Lenz <elenz@xyzfind.com>
Date: Thu, 28 Dec 2000 20:38:18 -0800
To: <xsl-editors@w3.org>
Message-ID: <BNEMICIEADHDDOIKLHNCEEHJDAAA.elenz@xyzfind.com>

It could work like <xsl:for-each> in that it requires an XPath expression
that returns a node-set, and, like <xsl:value-of>, it could ignore all but
the first node in that node-set.

This seems much better than having to change the current node all the time
by applying a template or using <xsl:for-each> (semantically misleading).

Is there any reason why <xsl:copy> shouldn't have a select attribute?

Thanks,
Evan Lenz
Received on Thursday, 28 December 2000 23:29:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:59:51 GMT