W3C home > Mailing lists > Public > xsl-editors@w3.org > January to March 1999

Re: Comment regarding xsl:attribute

From: James Clark <jjc@jclark.com>
Date: Thu, 25 Feb 1999 11:31:27 +0700
Message-ID: <36D4D21F.85EF000D@jclark.com>
To: John Keinanen <john@ncompasslabs.com>
CC: "'xsl-editors@w3.org'" <xsl-editors@w3.org>

John Keinanen wrote:
> Concering section "Creating Attributes with xsl:attribute" in
> the
> XSL specification, I find the following statement overly restrictive:
>  * Including nodes other than text nodes in the value of an attribute;
> implementations may either signal the error or ignore the added nodes.
> It seems useful to me to allow nodes within the xsl namespace to
> be contained within xsl:attribute.  Especially xsl:text, xsl:counter,
> and xsl:number.

That's not what it means.  It means that you can't have something like:

  <xsl:attribute name="foo"><xsl:element name="bar"/></xsl:attribute>

If the text said "Including result tree nodes other than text nodes...",
would that be clearer?

Received on Thursday, 25 February 1999 03:36:31 UTC

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