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>

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?

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

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:44:21 UTC